|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openspml.v2.msg.spml.Extensible
This is the basis of all the various types in the toolkit.
Constructor Summary | |
Extensible()
|
Method Summary | |
void |
addOpenContentAttr(OpenContentAttr attribute)
|
void |
addOpenContentAttr(java.lang.String name,
java.lang.String value)
Add an open content attr to this object. |
void |
addOpenContentElement(OpenContentElement obj)
Add an open content element to this object. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
findOpenContentAttrValueByName(java.lang.String name)
Convenience method to get the value of the named OpenContentAttr. |
OperationalNameValuePair |
findOperationalAttrByName(java.lang.String name)
Deprecated. changing the name of this method. |
OperationalNameValuePair |
findOperationalNVPByName(java.lang.String name)
This is a convenience method that looks for our utilitarian operational attribute object. |
PrefixAndNamespaceTuple[] |
getNamespacesInfo()
We need to know the namespace of the class to include. |
OpenContentAttr[] |
getOpenContentAttrs()
Return an array of all the attributes (name,value) that are not part of the type as defined in the xsd. |
OpenContentElement[] |
getOpenContentElements()
Returns an array of all the open content elements. |
int |
hashCode()
|
boolean |
isValid()
Is this ready to go or are there syntax errors, like missing required fields? |
boolean |
removeOpenContentAttr(OpenContentAttr attribute)
|
boolean |
removeOpenContentElement(OpenContentElement obj)
|
void |
setOpenContent(OpenContentAttr[] attrs,
OpenContentElement[] elements)
This will clear the existing open content and set it to the values in the given arrays of attributes and elements. |
void |
setOpenContentAttrs(OpenContentAttr[] attrs)
This will clear the existing open content attributes and set it to the values in the given array of attributes. |
void |
setOpenContentElements(OpenContentElement[] elements)
This will clear the existing open content elements and set it to the values in the given array of elements. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Extensible()
Method Detail |
public OperationalNameValuePair findOperationalAttrByName(java.lang.String name)
name
-
public OperationalNameValuePair findOperationalNVPByName(java.lang.String name)
Makes it clear that these are Elements we are looking for...
name
-
public void addOpenContentAttr(java.lang.String name, java.lang.String value)
addOpenContentAttr
in interface OpenContentContainer
name
- value
- public OpenContentAttr[] getOpenContentAttrs()
getOpenContentAttrs
in interface OpenContentContainer
public java.lang.String findOpenContentAttrValueByName(java.lang.String name)
name
-
public void addOpenContentElement(OpenContentElement obj)
addOpenContentElement
in interface OpenContentContainer
obj
- public OpenContentElement[] getOpenContentElements()
getOpenContentElements
in interface OpenContentContainer
public PrefixAndNamespaceTuple[] getNamespacesInfo()
MarshallableElement
getNamespacesInfo
in interface MarshallableElement
public boolean isValid()
MarshallableElement
isValid
in interface MarshallableElement
public void addOpenContentAttr(OpenContentAttr attribute)
public boolean removeOpenContentAttr(OpenContentAttr attribute)
public void setOpenContentElements(OpenContentElement[] elements)
elements
- public void setOpenContentAttrs(OpenContentAttr[] attrs)
attrs
- public void setOpenContent(OpenContentAttr[] attrs, OpenContentElement[] elements)
attrs
- elements
- public boolean removeOpenContentElement(OpenContentElement obj)
public boolean equals(java.lang.Object o)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |