1 /* 2 * $Id: Domain.java,v 1.7 2005/06/01 14:36:02 jlerner Exp $ 3 * 4 * Copyright (c) 1999-2004, BBN Technologies, LLC. 5 * All rights reserved. 6 * http://www.daml.org/legal/opensource/bbn_license.html 7 */ 8 9 package com.bbn.swede.core.dom.rdfs; 10 11 import com.bbn.swede.core.dom.OASTNode; 12 import com.bbn.swede.core.dom.PropertyNode; 13 14 /*** 15 * Custom property node implementation for rdfs:domain. 16 * @author jlerner 17 */ 18 public class Domain extends PropertyNode 19 { 20 /* 21 * (non-Javadoc) 22 * @see com.bbn.swede.core.dom.OASTNode#allowedChildren() 23 */ 24 protected int[] allowedChildren() 25 { 26 return null; 27 } 28 29 /* 30 * (non-Javadoc) 31 * @see com.bbn.swede.core.dom.OASTNode#getNodeType() 32 */ 33 public int getNodeType() 34 { 35 return OASTNode.RDFS_DOMAIN; 36 } 37 38 }