net.sourceforge.nrl.parser.model.xsd
Class XSDClassifier
java.lang.Object
net.sourceforge.nrl.parser.model.AbstractModelElement
net.sourceforge.nrl.parser.model.AbstractClassifier
net.sourceforge.nrl.parser.model.xsd.XSDClassifier
- All Implemented Interfaces:
- IClassifier, IModelElement
public class XSDClassifier
- extends AbstractClassifier
An XSD classifier, usually created from a complex type or element.
Methods inherited from class net.sourceforge.nrl.parser.model.AbstractClassifier |
addAttribute, getAttributeByName, getAttributes, getAttributes, hasAttribute, hasNonStaticAttributes, hasStaticAttributes, isEnumeration, removeAttribute, removeAttributeNameMapping, setEnumeration |
Methods inherited from class net.sourceforge.nrl.parser.model.AbstractModelElement |
addChild, getContainingPackage, getDescendants, getName, getOriginalName, getParent, getQualifiedName, getUserData, isAssignableFrom, isSupplementary, setName, setOriginalName, setParent, setSupplementary, setUserData |
XSDClassifier
public XSDClassifier(String name,
IPackage container)
getDocumentation
public List<String> getDocumentation()
- Description copied from interface:
IModelElement
- Return any documentation associated with the element.
- Returns:
- the documentation as a list of strings, or an empty list
getElementType
public IModelElement.ElementType getElementType()
- Description copied from interface:
IModelElement
- Return an enum indicating what type of element this is, to reduce the need to
sub-cast prematurely.
- Returns:
- the element type
getParentName
public String getParentName()
setParentName
public void setParentName(String parentName)
Copyright © 2006-2010 Christian Nentwich and others