oracle.xml.parser.schema
Class XMLSchema

oracle.xml.parser.schema.XSDNode
  |
  +--oracle.xml.parser.schema.XMLSchema

public class XMLSchema
extends XSDNode

XMLSchema class. Sets top-level XMLSchema document declarations & definitions plus schema location and schema target namespace. XMLSchema objects are created by XSDBuilder as a result of processing XMLSchema documents. They are used by XSDParser for instance XML documents validation and by XSDBuilder as imported schemas.


Constructor Summary
XMLSchema()
          XMLSchema constructor.
 
Method Summary
 java.lang.String[] getAllTargetNS()
          Get all the Target Name space defined in the schema
 XMLSchemaNode getSchemaByTargetNS(java.lang.String namespace)
          Get schemaNode for the given namespace
 java.lang.String getSchemaTargetNS()
          Get the top level schema's target Namespace.
 java.util.Hashtable getXMLSchemaNodeTable()
          Get XMLSchemaNode table
 java.lang.String[] getXMLSchemaURLS()
          Get XMLSchema URLs
 void printSchema()
          print information
 
Methods inherited from class oracle.xml.parser.schema.XSDNode
getName, getNamespaceURI, getNodeType, getTargetNS, isNodeType
 

Constructor Detail

XMLSchema

public XMLSchema()
          throws XSDException
XMLSchema constructor.
Method Detail

getXMLSchemaURLS

public java.lang.String[] getXMLSchemaURLS()
Get XMLSchema URLs
Returns:
array of schema URLs

getXMLSchemaNodeTable

public java.util.Hashtable getXMLSchemaNodeTable()
Get XMLSchemaNode table
Returns:
Hashtable

getSchemaByTargetNS

public XMLSchemaNode getSchemaByTargetNS(java.lang.String namespace)
Get schemaNode for the given namespace
Parameters:
namespace - Target namespace of the required schema
Returns:
XMLSchemaNode

printSchema

public void printSchema()
print information

getAllTargetNS

public java.lang.String[] getAllTargetNS()
Get all the Target Name space defined in the schema

getSchemaTargetNS

public java.lang.String getSchemaTargetNS()
Get the top level schema's target Namespace. In case there are more than one top level schema, the last one being built is returned.