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)
SchematargetNamespace attribute of a <xs:schema> element
or the namespace attribute of a <xs:import> element.setNamespace in interface Schemapublic URI getNamespace()
SchematargetNamespace attribute of a
<xs:schema> element or the namespace attribute of a
<xs:import> element.getNamespace in interface Schemapublic void setSchemaDefinition(org.apache.ws.commons.schema.XmlSchema schemaDef)
SchemaXmlSchema.setSchemaDefinition in interface SchemaschemaDef - the XmlSchema representing this schemapublic org.apache.ws.commons.schema.XmlSchema getSchemaDefinition()
SchemaXmlSchema representing the schema definition inlined by
a <xs:schema> element or imported by a <xs:import> element.getSchemaDefinition in interface SchemaXmlSchema representing schema definition.public XMLElement getXMLElement()
Schemaxs: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 Schemapublic void setXMLElement(XMLElement xsdElement)
Schemaxs:schema or xs:import
element.setXMLElement in interface SchemaxsdElement - the XMLElementpublic void setReferenceable(boolean referenceable)
public boolean isReferenceable()
public String getNamespaceAsString()
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.