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.
XMLSchema
public XMLSchema()
throws XSDException
- XMLSchema constructor.
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.