org.openspml.v2.profiles.dsml
Class AttributeDescriptions
java.lang.Object
org.openspml.v2.profiles.dsml.AttributeDescriptions
- All Implemented Interfaces:
- DSMLUnmarshaller.Parseable, OpenContentElement
- public class AttributeDescriptions
- extends java.lang.Object
- implements DSMLUnmarshaller.Parseable, OpenContentElement
This is a list of attributes...
<!-- This is from the Search portion - the profile says these are used to filter attributes -->
<xsd:complexType name="AttributeDescriptions">
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element name="attribute" type="AttributeDescription"/>
</xsd:sequence>
</xsd:complexType>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeDescriptions
public AttributeDescriptions()
AttributeDescriptions
public AttributeDescriptions(AttributeDescription[] descs)
throws DSMLProfileException
getAttributeDescriptions
public AttributeDescription[] getAttributeDescriptions()
addAttributeDescription
public void addAttributeDescription(AttributeDescription desc)
addAttributeDescriptions
public void addAttributeDescriptions(AttributeDescription[] descs)
setAttributeDescriptions
public void setAttributeDescriptions(AttributeDescription[] descs)
clearAttributeDescriptions
public void clearAttributeDescriptions()
toXML
public java.lang.String toXML(int indent)
throws DSMLProfileException
- Description copied from interface:
OpenContentElement
- Convert this object to an XML string.
- Specified by:
toXML
in interface OpenContentElement
- Parameters:
indent
- how much indent to start with.
- Returns:
- indented xml fragment
- Throws:
DSMLProfileException
toXML
public java.lang.String toXML()
throws DSMLProfileException
- Description copied from interface:
OpenContentElement
- Would usually call toXml(int) with 0 indent.
- Specified by:
toXML
in interface OpenContentElement
- Returns:
- xml fragment
- Throws:
DSMLProfileException
parseXml
public void parseXml(DSMLUnmarshaller um,
java.lang.Object xmlObj)
throws DSMLProfileException
- Specified by:
parseXml
in interface DSMLUnmarshaller.Parseable
- Throws:
DSMLProfileException
Copyright © Sun Microsystems, Inc. All Rights Reserved.