org.apache.ws.jaxme.xs.impl
Class XSLogicalParser.AddedImport
java.lang.Object
org.apache.ws.jaxme.xs.impl.XSLogicalParser.AddedImport
- XSLogicalParser
public static class XSLogicalParser.AddedImport
extends java.lang.Object
This class is used to ensure, that schemata aren't loaded
twice. It can also be used for preloading schemata.
AddedImport(String pTargetNamespace, String pSchemaLocation) - Creates a new instance with the given target namespace and
schema location.
|
AddedImport(String pTargetNamespace, String pSchemaLocation, Node pNode) - Creates a new instance with the given target namespace and
schema location.
|
AddedImport(XsAnyURI pTargetNamespace, String pSchemaLocation) - Creates a new instance with the given target namespace and
schema location.
|
boolean | equals(Object pOther)
|
String | getNamespace() - Returns the imported schemas target namespace.
|
Node | getNode() - Returns the DOM node, from which the schema is being loaded.
|
String | getSchemaLocation() - Returns the URL, from which the schema is being loaded.
|
int | hashCode()
|
AddedImport
public AddedImport(String pTargetNamespace,
String pSchemaLocation)
Creates a new instance with the given target namespace and
schema location.
pTargetNamespace
- The schemas target namespace.pSchemaLocation
- The schemas location.
AddedImport
public AddedImport(String pTargetNamespace,
String pSchemaLocation,
Node pNode)
Creates a new instance with the given target namespace and
schema location. The schema isn't parsed from the location.
Instead, the supplied nodes contents should be used as a
schema.
pTargetNamespace
- The schemas target namespace.pSchemaLocation
- The schemas location.pNode
- The schemas contents as a DOM node.
AddedImport
public AddedImport(XsAnyURI pTargetNamespace,
String pSchemaLocation)
Creates a new instance with the given target namespace and
schema location.
pTargetNamespace
- The schemas target namespace.pSchemaLocation
- The schemas location.
equals
public boolean equals(Object pOther)
getNamespace
public String getNamespace()
Returns the imported schemas target namespace.
getNode
public Node getNode()
Returns the DOM node, from which the schema is being loaded.
Returns null, if the schema is loaded from an URL.
getSchemaLocation
public String getSchemaLocation()
Returns the URL, from which the schema is being loaded.
Returns null, if the schema is loaded from a DOM node.
hashCode
public int hashCode()