public abstract class SchemaImpl extends Object implements Schema
Constructor and Description |
---|
SchemaImpl() |
Modifier and Type | Method and Description |
---|---|
URI |
getNamespace()
Returns a URI representing the
targetNamespace attribute of a
<xs:schema> element or the namespace attribute of a
<xs:import> element. |
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(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. |
public void setNamespace(URI namespace)
Schema
targetNamespace
attribute of a <xs:schema> element
or the namespace
attribute of a <xs:import> element.setNamespace
in interface Schema
public 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 String getNamespaceAsString()
Copyright © 2005-2013 Apache Software Foundation. All Rights Reserved.