org.openspml.v2.profiles.dsml
Class AttributeDescriptions

java.lang.Object
  extended byorg.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>
 


Constructor Summary
AttributeDescriptions()
           
AttributeDescriptions(AttributeDescription[] descs)
           
 
Method Summary
 void addAttributeDescription(AttributeDescription desc)
           
 void addAttributeDescriptions(AttributeDescription[] descs)
           
 void clearAttributeDescriptions()
           
 AttributeDescription[] getAttributeDescriptions()
           
 void parseXml(DSMLUnmarshaller um, java.lang.Object xmlObj)
           
 void setAttributeDescriptions(AttributeDescription[] descs)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDescriptions

public AttributeDescriptions()

AttributeDescriptions

public AttributeDescriptions(AttributeDescription[] descs)
                      throws DSMLProfileException
Method Detail

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.