|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.xsd.impl.XSDefinitionImpl
public class XSDefinitionImpl
Represents a XML schema definition.
| Constructor Summary | |
|---|---|
XSDefinitionImpl()
|
|
| Method Summary | ||
|---|---|---|
boolean |
equals(java.lang.Object obj)
|
|
java.util.List<XSDefinition> |
getAggregatedDefinitions()
Get the aggregated definitions for a facade XSDefinition |
|
org.w3c.dom.Document |
getDocument()
Get the DOM representation of the XSD |
|
java.net.URI |
getLocation()
Get the location of the XSD |
|
java.lang.String |
getNamespace()
Returns the namespace of this XmlSchema definition. |
|
XmlSchema |
getSchema()
Returns the XmlSchema definition model |
|
XmlSchemaCollection |
getSchemaCollection()
|
|
XmlSchemaElement |
getXmlSchemaElement(javax.xml.namespace.QName name)
Get an XSD element by QName |
|
static
|
getXmlSchemaObject(XmlSchema schema,
javax.xml.namespace.QName name,
java.lang.Class<T> type)
|
|
XmlSchemaType |
getXmlSchemaType(javax.xml.namespace.QName name)
Get an XSD type by QName |
|
int |
hashCode()
|
|
boolean |
isUnresolved()
Returns true if the model element is unresolved. |
|
void |
setAggregatedDefinitions(java.util.List<XSDefinition> definitions)
Set the aggregated definitions for a facade XSDefinition |
|
void |
setDocument(org.w3c.dom.Document document)
Set the DOM representation of the XSD |
|
void |
setLocation(java.net.URI location)
Set the location of the XSD |
|
void |
setNamespace(java.lang.String namespace)
Sets the namespace of this XmlSchema definition. |
|
void |
setSchema(XmlSchema definition)
Sets the XmlSchema definition model |
|
void |
setSchemaCollection(XmlSchemaCollection schemaCollection)
|
|
void |
setUnresolved(boolean undefined)
Sets whether the model element is unresolved. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSDefinitionImpl()
| Method Detail |
|---|
public XmlSchema getSchema()
XSDefinition
getSchema in interface XSDefinitionpublic void setSchema(XmlSchema definition)
XSDefinition
setSchema in interface XSDefinitiondefinition - the XmlSchema definition modelpublic boolean isUnresolved()
Base
isUnresolved in interface Basepublic void setUnresolved(boolean undefined)
Base
setUnresolved in interface Baseundefined - whether the model element is unresolvedpublic java.lang.String getNamespace()
XSDefinition
getNamespace in interface XSDefinitionpublic void setNamespace(java.lang.String namespace)
XSDefinition
setNamespace in interface XSDefinitionnamespace - the namespace of this XmlSchema definitionpublic java.net.URI getLocation()
XSDefinition
getLocation in interface XSDefinitionpublic void setLocation(java.net.URI location)
XSDefinition
setLocation in interface XSDefinitionlocation - the location to setpublic org.w3c.dom.Document getDocument()
XSDefinition
getDocument in interface XSDefinitionpublic void setDocument(org.w3c.dom.Document document)
XSDefinition
setDocument in interface XSDefinitiondocument - the document to setpublic XmlSchemaCollection getSchemaCollection()
getSchemaCollection in interface XSDefinitionpublic void setSchemaCollection(XmlSchemaCollection schemaCollection)
setSchemaCollection in interface XSDefinitionschemaCollection - the schemaCollection to setpublic int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)
public static <T extends XmlSchemaObject> T getXmlSchemaObject(XmlSchema schema,
javax.xml.namespace.QName name,
java.lang.Class<T> type)
public XmlSchemaElement getXmlSchemaElement(javax.xml.namespace.QName name)
XSDefinition
getXmlSchemaElement in interface XSDefinitionname - The element name
public XmlSchemaType getXmlSchemaType(javax.xml.namespace.QName name)
XSDefinition
getXmlSchemaType in interface XSDefinitionname - The type name
public java.util.List<XSDefinition> getAggregatedDefinitions()
XSDefinition
getAggregatedDefinitions in interface XSDefinitionpublic void setAggregatedDefinitions(java.util.List<XSDefinition> definitions)
XSDefinition
setAggregatedDefinitions in interface XSDefinition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||