|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.woden.internal.schema.SchemaImpl
public abstract class SchemaImpl
Abstract implementation of an XML Schema.
Constructor Summary | |
---|---|
SchemaImpl()
|
Method Summary | |
---|---|
java.net.URI |
getNamespace()
Returns a URI representing the targetNamespace attribute of a
<xs:schema> element or the namespace attribute of a
<xs:import> element. |
java.lang.String |
getNamespaceAsString()
|
org.apache.ws.commons.schema.XmlSchema |
getSchemaDefinition()
Returns an XmlSchema representing the schema definition inlined by
a <xs:schema> element or imported by a <xs:import> element. |
XMLElement |
getXMLElement()
Returns the XMLElement representing the xs:schema or xs:import
element within the wsdl:types element. |
boolean |
isReferenceable()
|
void |
setNamespace(java.net.URI namespace)
Set the targetNamespace attribute of a <xs:schema> element
or the namespace attribute of a <xs:import> element. |
void |
setReferenceable(boolean referenceable)
|
void |
setSchemaDefinition(org.apache.ws.commons.schema.XmlSchema schemaDef)
Sets the schema definition for an inlined schema or schema import to the specified XmlSchema . |
void |
setXMLElement(XMLElement xsdElement)
Sets the XMLElement representing the underlying xs:schema or xs:import
element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaImpl()
Method Detail |
---|
public void setNamespace(java.net.URI namespace)
Schema
targetNamespace
attribute of a <xs:schema> element
or the namespace
attribute of a <xs:import> element.
setNamespace
in interface Schema
public java.net.URI getNamespace()
Schema
targetNamespace
attribute of a
<xs:schema> element or the namespace
attribute of a
<xs:import> element.
getNamespace
in interface Schema
public void setSchemaDefinition(org.apache.ws.commons.schema.XmlSchema schemaDef)
Schema
XmlSchema
.
setSchemaDefinition
in interface Schema
schemaDef
- the XmlSchema
representing this schemapublic org.apache.ws.commons.schema.XmlSchema getSchemaDefinition()
Schema
XmlSchema
representing the schema definition inlined by
a <xs:schema> element or imported by a <xs:import> element.
getSchemaDefinition
in interface Schema
XmlSchema
representing schema definition.public XMLElement getXMLElement()
Schema
xs:schema
or xs:import
element within the wsdl:types
element. This provides an 'wrapper' to the
underlying XML Schema infoset for applications that need schema processing alternatives to
Apache WS Commons XmlSchema.
getXMLElement
in interface Schema
public void setXMLElement(XMLElement xsdElement)
Schema
xs:schema
or xs:import
element.
setXMLElement
in interface Schema
xsdElement
- the XMLElementpublic void setReferenceable(boolean referenceable)
public boolean isReferenceable()
public java.lang.String getNamespaceAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |