org.openspml.v2.profiles.dsml
Class ExtensibleMatch

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

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

This is the only item that implements the MatchingRuleAssertion so we're doing this all here.

    <xsd:complexType name="MatchingRuleAssertion">
        <xsd:sequence>
            <xsd:element name="value" type="DsmlValue"/>
        </xsd:sequence>
        <xsd:attribute name="dnAttributes" type="xsd:boolean" use="optional" default="false"/>
        <xsd:attribute name="matchingRule" type="xsd:string" use="optional"/>
        <xsd:attribute name="name" type="AttributeDescriptionValue" use="optional"/>
    </xsd:complexType>
 


Constructor Summary
protected ExtensibleMatch()
           
  ExtensibleMatch(java.lang.String name, java.lang.String value)
           
  ExtensibleMatch(java.lang.String name, java.lang.String value, java.lang.String matchingRule)
           
  ExtensibleMatch(java.lang.String name, java.lang.String value, java.lang.String matchingRule, boolean dnAttributes)
           
  ExtensibleMatch(java.lang.String name, Value value)
           
protected ExtensibleMatch(java.lang.String name, Value value, java.lang.String matchingRule, java.lang.Boolean dnAttributes)
           
 
Method Summary
protected  void addSubclassAttributes(XmlBuffer buffer)
           
protected  void addSubclassElements(XmlBuffer buffer)
           
 boolean equals(java.lang.Object o)
           
 boolean getDnAttributes()
           
 java.lang.String getMatchingRule()
           
 java.lang.String getName()
           
 Value getValue()
           
 int hashCode()
           
 void parseXml(DSMLUnmarshaller um, java.lang.Object e)
           
 void setDnAttributes(boolean dnAttributes)
           
 void setMatchingRule(java.lang.String matchingRule)
           
 void setName(java.lang.String name)
           
 void setValue(Value value)
           
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

ExtensibleMatch

protected ExtensibleMatch(java.lang.String name,
                          Value value,
                          java.lang.String matchingRule,
                          java.lang.Boolean dnAttributes)
                   throws DSMLProfileException

ExtensibleMatch

protected ExtensibleMatch()

ExtensibleMatch

public ExtensibleMatch(java.lang.String name,
                       Value value)
                throws DSMLProfileException

ExtensibleMatch

public ExtensibleMatch(java.lang.String name,
                       java.lang.String value)
                throws DSMLProfileException

ExtensibleMatch

public ExtensibleMatch(java.lang.String name,
                       java.lang.String value,
                       java.lang.String matchingRule)
                throws DSMLProfileException

ExtensibleMatch

public ExtensibleMatch(java.lang.String name,
                       java.lang.String value,
                       java.lang.String matchingRule,
                       boolean dnAttributes)
                throws DSMLProfileException
Method Detail

toXML

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

addSubclassAttributes

protected void addSubclassAttributes(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

getValue

public Value getValue()

setValue

public void setValue(Value value)
              throws DSMLProfileException
Throws:
DSMLProfileException

getDnAttributes

public boolean getDnAttributes()

setDnAttributes

public void setDnAttributes(boolean dnAttributes)

getMatchingRule

public java.lang.String getMatchingRule()

setMatchingRule

public void setMatchingRule(java.lang.String matchingRule)

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

toXML

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


Copyright © Sun Microsystems, Inc. All Rights Reserved.