|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsdl.extensions.schema.SchemaImpl
public class SchemaImpl
This class is used to wrap schema elements. It holds the DOM Element to the
<schema>
element.
SchemaSerializer
,
SchemaDeserializer
,
Serialized FormField Summary | |
---|---|
protected org.w3c.dom.Element |
element
|
protected QName |
elementType
|
protected java.lang.Boolean |
required
|
static long |
serialVersionUID
|
Constructor Summary | |
---|---|
SchemaImpl()
|
Method Summary | |
---|---|
void |
addImport(SchemaImport importSchema)
Add an import to this LightWeightSchema |
void |
addInclude(SchemaReference includeSchema)
Add an include to this LightWeightSchema |
void |
addRedefine(SchemaReference redefineSchema)
Add a redefine to this LightWeightSchema |
SchemaImport |
createImport()
Create a new schema import. |
SchemaReference |
createInclude()
Create a new schema reference to represent an include. |
SchemaReference |
createRedefine()
Create a new schema reference to represent a redefine. |
java.lang.String |
getDocumentBaseURI()
Get the document base URI of this schema |
org.w3c.dom.Element |
getElement()
Get the DOM Element that represents this schema element. |
QName |
getElementType()
Get the type of this extensibility element. |
java.util.Map |
getImports()
Get a map of lists containing all the imports defined here. |
java.util.List |
getIncludes()
Get list of includes defined here. |
java.util.List |
getRedefines()
Get a list containing all of the redefines defined here. |
java.lang.Boolean |
getRequired()
Get whether or not the semantics of this extension are required. |
void |
setDocumentBaseURI(java.lang.String documentBaseURI)
Set the document base URI of this schema definition. |
void |
setElement(org.w3c.dom.Element element)
Set the DOM Element that represents this schema element. |
void |
setElementType(QName elementType)
Set the type of this extensibility element. |
void |
setRequired(java.lang.Boolean required)
Set whether or not the semantics of this extension are required. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected QName elementType
protected java.lang.Boolean required
protected org.w3c.dom.Element element
public static final long serialVersionUID
Constructor Detail |
---|
public SchemaImpl()
Method Detail |
---|
public java.util.Map getImports()
getImports
in interface Schema
public SchemaImport createImport()
createImport
in interface Schema
public void addImport(SchemaImport importSchema)
addImport
in interface Schema
importSchema
- the import to be addedpublic java.util.List getIncludes()
getIncludes
in interface Schema
public SchemaReference createInclude()
Schema
createInclude
in interface Schema
public void addInclude(SchemaReference includeSchema)
Schema
addInclude
in interface Schema
includeSchema
- The include to be added, represented as a SchemaReferencepublic java.util.List getRedefines()
Schema
getRedefines
in interface Schema
public SchemaReference createRedefine()
Schema
createRedefine
in interface Schema
public void addRedefine(SchemaReference redefineSchema)
Schema
addRedefine
in interface Schema
redefineSchema
- The redefine to be added, represented as a SchemaReferencepublic java.lang.String toString()
toString
in class java.lang.Object
public void setElementType(QName elementType)
setElementType
in interface ExtensibilityElement
elementType
- the typepublic QName getElementType()
getElementType
in interface ExtensibilityElement
public void setRequired(java.lang.Boolean required)
setRequired
in interface ExtensibilityElement
public java.lang.Boolean getRequired()
getRequired
in interface ExtensibilityElement
public void setElement(org.w3c.dom.Element element)
setElement
in interface Schema
element
- the DOM element representing this schemapublic org.w3c.dom.Element getElement()
getElement
in interface Schema
public void setDocumentBaseURI(java.lang.String documentBaseURI)
setDocumentBaseURI
in interface Schema
documentBaseURI
- the document base URI of this schemapublic java.lang.String getDocumentBaseURI()
getDocumentBaseURI
in interface Schema
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |