|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectXSD
public abstract class XSD
Xml Schema for a particular namespace.
This class should is subclasses for the xs, gml, filter, sld, etc... schemas. Subclasses should be implemented as singletons.
Field Summary | |
---|---|
protected static Logger |
LOGGER
logging instance |
protected XSDSchema |
schema
schema contents |
Constructor Summary | |
---|---|
protected |
XSD()
|
Method Summary | |
---|---|
protected void |
addDependencies(Set dependencies)
Subclass hook to add additional dependencies. |
protected List |
allDependencies()
|
protected XSDSchema |
buildSchema()
Builds the schema from the .xsd file specified by getSchemaLocation()
This method may be extended, but should not be overridden. |
SchemaLocationResolver |
createSchemaLocationResolver()
|
SchemaLocator |
createSchemaLocator()
|
boolean |
equals(Object obj)
Implementation of equals, equality is based soley on getNamespaceURI() . |
Set |
getDependencies()
The dependencies of this schema. |
abstract String |
getNamespaceURI()
The namespace uri of the schema. |
XSDSchema |
getSchema()
Returns the XSD object representing the contents of the schema. |
abstract String |
getSchemaLocation()
The location on the local disk of the top level .xsd file which defines the schema. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static Logger LOGGER
protected XSDSchema schema
Constructor Detail |
---|
protected XSD()
Method Detail |
---|
public abstract String getNamespaceURI()
public abstract String getSchemaLocation()
public final Set getDependencies()
protected List allDependencies()
protected void addDependencies(Set dependencies)
public final XSDSchema getSchema() throws IOException
IOException
protected XSDSchema buildSchema() throws IOException
getSchemaLocation()
This method may be extended, but should not be overridden.
IOException
public SchemaLocator createSchemaLocator()
public SchemaLocationResolver createSchemaLocationResolver()
public final boolean equals(Object obj)
getNamespaceURI()
.
equals
in class Object
public final int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |