java.lang .Object org.sakaiproject.metaobj.utils.xml.impl .SchemaNodeImpl All known Subclasses: org.sakaiproject.metaobj.utils.xml.impl .ComplexSchemaNodeImpl , org.sakaiproject.metaobj.utils.xml.impl .RefSchemaNodeImpl , org.sakaiproject.metaobj.utils.xml.impl .SimpleSchemaNodeImpl ,SchemaNodeImpl public class SchemaNodeImpl implements SchemaNode (Code) Created by IntelliJ IDEA.
User: John Ellis
Date: Apr 15, 2004
Time: 12:21:47 PM
To change this template use File | Settings | File Templates.
Inner Class :protected class GlobalMaps
xsdNamespace protected Namespace xsdNamespace(Code)
createNode protected SchemaNode createNode(Element schemaElement, boolean isAttribute)(Code)
getAppAnnotations public Map getAppAnnotations()(Code)
getChild public SchemaNode getChild(String elementName)(Code) Gets the schema object for the named child node.
Parameters: elementName - the name of the schema node to retrive.
getDocumentAnnotations public Map getDocumentAnnotations()(Code)
getGlobalMaps public GlobalMaps getGlobalMaps()(Code)
getMaxOccurs public int getMaxOccurs()(Code) Retuns the max number of times the element
defined by this node can occur in its parent.
The root schema will always return 1 here.
getMinOccurs public int getMinOccurs()(Code) Returns the min number of times the element
defined by this node can occur in its parent.
The root schema will always return 1 here.
getSchemaElement public Element getSchemaElement()(Code)
getTargetNamespace public Namespace getTargetNamespace()(Code)
hasEnumerations public boolean hasEnumerations()(Code)
initSchemaElement protected void initSchemaElement()(Code)
isAttribute public boolean isAttribute()(Code)
isDataNode public boolean isDataNode()(Code)
processAnnotationList protected void processAnnotationList(Map annotationMap, List children)(Code)
processAnnotations protected void processAnnotations(Element child)(Code)
processAttributeGroup protected void processAttributeGroup(Element groupElement)(Code)
processIncludes protected void processIncludes(List includes)(Code)
setTargetNamespace public void setTargetNamespace(Namespace targetNamespace)(Code)
setupNamespaces protected void setupNamespaces(Element schemaElement)(Code)
validateAndNormalize public ValidatedNode validateAndNormalize(Element node)(Code) Validates the passed in node and all children.
Will also normalize any values.
Parameters: node - a jdom element to validate the validated Element wrappedin a ValidatedNode class