org.openspml.v2.profiles.dsml
Class Substrings

java.lang.Object
  extended byorg.openspml.v2.profiles.dsml.FilterItem
      extended byorg.openspml.v2.profiles.dsml.NamedFilterItem
          extended byorg.openspml.v2.profiles.dsml.Substrings
All Implemented Interfaces:
DSMLUnmarshaller.Parseable

public class Substrings
extends org.openspml.v2.profiles.dsml.NamedFilterItem

There's only one SubstringFilter typed item, the Substring element, so we're using a single class.

 <xsd:complexType name="SubstringFilter">
     <xsd:sequence>
         <xsd:element name="initial" type="DsmlValue" minOccurs="0"/>
         <xsd:element name="any" type="DsmlValue" minOccurs="0" maxOccurs="unbounded"/>
         <xsd:element name="final" type="DsmlValue" minOccurs="0"/>
     </xsd:sequence>
     <xsd:attribute name="name" type="AttributeDescriptionValue" use="required"/>
 </xsd:complexType>
 


Constructor Summary
Substrings()
           
 
Method Summary
 void addAny(Value any)
           
protected  void addSubclassAttributes(XmlBuffer buffer)
           
protected  void addSubclassElements(XmlBuffer buffer)
           
 void clearAny()
           
 boolean equals(java.lang.Object o)
           
 Value[] getAny()
           
 Value getFinal()
           
 Value getInitial()
           
 java.lang.String getName()
           
 int hashCode()
           
 void parseXml(DSMLUnmarshaller um, java.lang.Object e)
           
 boolean removeAny(Value any)
           
 void setAny(Value[] any)
           
 void setFinal(Value aFinal)
           
 void setInitial(Value initial)
           
 void setName(java.lang.String name)
           
protected  void toXML(java.lang.String s, XmlBuffer buffer)
           
protected  void toXML(XmlBuffer buffer)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Substrings

public Substrings()
Method Detail

toXML

protected void toXML(XmlBuffer buffer)
              throws DSMLProfileException
Throws:
DSMLProfileException

addSubclassElements

protected void addSubclassElements(XmlBuffer buffer)
                            throws DSMLProfileException
Throws:
DSMLProfileException

parseXml

public void parseXml(DSMLUnmarshaller um,
                     java.lang.Object e)
              throws DSMLProfileException
Throws:
DSMLProfileException

getInitial

public Value getInitial()

setInitial

public void setInitial(Value initial)

getAny

public Value[] getAny()

setAny

public void setAny(Value[] any)

addAny

public void addAny(Value any)

removeAny

public boolean removeAny(Value any)

clearAny

public void clearAny()

getFinal

public Value getFinal()

setFinal

public void setFinal(Value aFinal)

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)
             throws DSMLProfileException
Throws:
DSMLProfileException

addSubclassAttributes

protected void addSubclassAttributes(XmlBuffer buffer)
                              throws DSMLProfileException
Throws:
DSMLProfileException

toXML

protected void toXML(java.lang.String s,
                     XmlBuffer buffer)
              throws DSMLProfileException
Throws:
DSMLProfileException


Copyright © Sun Microsystems, Inc. All Rights Reserved.