|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.wsdl.extensions.schema.SchemaImpl
This class is used to wrap schema elements. It holds the DOM Element to the
<schema> element.
SchemaSerializer,
SchemaDeserializer,
Serialized Form| Field 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 Schemapublic SchemaImport createImport()
createImport in interface Schemapublic void addImport(SchemaImport importSchema)
addImport in interface SchemaimportSchema - the import to be addedpublic java.util.List getIncludes()
getIncludes in interface Schemapublic SchemaReference createInclude()
Schema
createInclude in interface Schemapublic void addInclude(SchemaReference includeSchema)
Schema
addInclude in interface SchemaincludeSchema - The include to be added, represented as a SchemaReferencepublic java.util.List getRedefines()
Schema
getRedefines in interface Schemapublic SchemaReference createRedefine()
Schema
createRedefine in interface Schemapublic void addRedefine(SchemaReference redefineSchema)
Schema
addRedefine in interface SchemaredefineSchema - The redefine to be added, represented as a SchemaReferencepublic java.lang.String toString()
public void setElementType(QName elementType)
setElementType in interface ExtensibilityElementelementType - the typepublic QName getElementType()
getElementType in interface ExtensibilityElementpublic void setRequired(java.lang.Boolean required)
setRequired in interface ExtensibilityElementpublic java.lang.Boolean getRequired()
getRequired in interface ExtensibilityElementpublic void setElement(org.w3c.dom.Element element)
setElement in interface Schemaelement - the DOM element representing this schemapublic org.w3c.dom.Element getElement()
getElement in interface Schemapublic void setDocumentBaseURI(java.lang.String documentBaseURI)
setDocumentBaseURI in interface SchemadocumentBaseURI - 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 | |||||||||||