oracle.xml.parser.schema
Class XSDNode

oracle.xml.parser.schema.XSDNode
Direct Known Subclasses:
XMLSchema, XMLSchemaNode, XSDAttribute, XSDComplexType, XSDIdentity

public class XSDNode

Root class for most of XSD classes. Contains fields and methods corresponding to XMLSchema definition attributes


Method Summary
 oracle.xml.parser.schema.XSDAnnotation getAnnotation()
          Get annotation node of this component for types: XSDElement, XSDAttribute, XSDGroup, XSDAttrGroup, XSDComplexType, XSDSimipleType, and XMLSchemaNode
 java.lang.String getName()
          Get the name of the node
 java.lang.String getNamespaceURI()
           
 int getNodeType()
          Get the type of XSDNode.
 java.lang.String getTargetNS()
          Get target namespace
 boolean isNodeType(int type)
          Checks if the node is of the give type
 

Method Detail

getNodeType

public int getNodeType()
Get the type of XSDNode.
Returns:
nodeType

isNodeType

public boolean isNodeType(int type)
Checks if the node is of the give type
Parameters:
type -  

getName

public java.lang.String getName()
Get the name of the node
Returns:
name

getTargetNS

public java.lang.String getTargetNS()
Get target namespace
Returns:
tagetNS

getAnnotation

public oracle.xml.parser.schema.XSDAnnotation getAnnotation()
Get annotation node of this component for types: XSDElement, XSDAttribute, XSDGroup, XSDAttrGroup, XSDComplexType, XSDSimipleType, and XMLSchemaNode
Returns:
annotation if any, null otherwise

getNamespaceURI

public java.lang.String getNamespaceURI()


 

Copyright © 1997, 2004, Oracle. All rights reserved.