|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openspml.v2.util.xml.BasicMarshallableElement
org.openspml.v2.msg.spml.Extensible
org.openspml.v2.profiles.spmldsml.ExtensibleElement
org.openspml.v2.profiles.spmldsml.DSMLSchema
| Constructor Summary | |
DSMLSchema()
|
|
DSMLSchema(ObjectClassDefinition[] objectClassDefs,
AttributeDefinition[] attributeDefs)
|
|
| Method Summary | |
void |
addAttributeDefinition(AttributeDefinition reference)
|
void |
addObjectClassDefinition(ObjectClassDefinition reference)
|
void |
clearAttributeDefinitions()
|
void |
clearObjectClassDefinitions()
|
boolean |
equals(java.lang.Object o)
|
AttributeDefinition[] |
getAttributeDefinitions()
|
java.lang.String |
getElementName()
This should return the name of the element to be placed in the XML |
PrefixAndNamespaceTuple[] |
getNamespacesInfo()
We need to know the namespace of the class to include. |
ObjectClassDefinition[] |
getObjectClassDefinitions()
|
int |
hashCode()
|
boolean |
isValid()
Most of the checks can be handled with setters/getters and assertions. |
boolean |
removeAttributeDefinition(AttributeDefinition reference)
|
boolean |
removeObjectClassDefinition(ObjectClassDefinition reference)
|
java.lang.String |
toXML()
Would usually call toXml(int) with 0 indent. |
java.lang.String |
toXML(int indent)
Convert this object to an XML string. |
java.lang.String |
toXML(XMLMarshaller m)
Visitor pattern - dispatch this type to the visitor (m) please. |
| Methods inherited from class org.openspml.v2.util.xml.BasicMarshallableElement |
getElementName |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openspml.v2.msg.MarshallableElement |
getNamespacesInfo |
| Constructor Detail |
public DSMLSchema()
public DSMLSchema(ObjectClassDefinition[] objectClassDefs,
AttributeDefinition[] attributeDefs)
| Method Detail |
public java.lang.String getElementName()
MarshallableElement
getElementName in interface MarshallableElementpublic ObjectClassDefinition[] getObjectClassDefinitions()
public void addObjectClassDefinition(ObjectClassDefinition reference)
public boolean removeObjectClassDefinition(ObjectClassDefinition reference)
public void clearObjectClassDefinitions()
public AttributeDefinition[] getAttributeDefinitions()
public void addAttributeDefinition(AttributeDefinition reference)
public boolean removeAttributeDefinition(AttributeDefinition reference)
public void clearAttributeDefinitions()
public java.lang.String toXML(XMLMarshaller m)
throws Spml2Exception
Marshallable
toXML in interface Marshallablem -
Spml2Exceptionpublic boolean isValid()
isValid in interface MarshallableElementisValid in class Extensible
public java.lang.String toXML(int indent)
throws Spml2Exception
OpenContentElement
toXML in interface OpenContentElementindent - how much indent to start with.
Spml2Exception
public java.lang.String toXML()
throws Spml2Exception
OpenContentElement
toXML in interface OpenContentElementSpml2Exceptionpublic boolean equals(java.lang.Object o)
equals in class Extensiblepublic int hashCode()
hashCode in class Extensiblepublic PrefixAndNamespaceTuple[] getNamespacesInfo()
MarshallableElement
getNamespacesInfo in interface MarshallableElementgetNamespacesInfo in class Extensible
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||