org.openspml.v2.profiles.dsml
Class Filter
java.lang.Object
org.openspml.v2.profiles.dsml.BasicFilter
org.openspml.v2.profiles.dsml.Filter
- All Implemented Interfaces:
- DSMLUnmarshaller.Parseable, OpenContentElement
- public class Filter
- extends org.openspml.v2.profiles.dsml.BasicFilter
- implements DSMLUnmarshaller.Parseable, OpenContentElement
This is from the DSML 2.0 Specification.
<xsd:complexType name="Filter">
<xsd:group ref="FilterGroup"/>
</xsd:complexType>
Field Summary |
protected org.openspml.v2.profiles.dsml.FilterItem |
mItem
|
Constructor Summary |
Filter()
|
Filter(org.openspml.v2.profiles.dsml.FilterItem item)
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
org.openspml.v2.profiles.dsml.FilterItem |
getItem()
|
int |
hashCode()
|
void |
parseXml(DSMLUnmarshaller um,
java.lang.Object e)
|
void |
setItem(org.openspml.v2.profiles.dsml.FilterItem item)
|
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. |
protected java.lang.String |
toXML(java.lang.String s,
int indent,
boolean addNSInfo)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
mItem
protected org.openspml.v2.profiles.dsml.FilterItem mItem
Filter
public Filter()
Filter
public Filter(org.openspml.v2.profiles.dsml.FilterItem item)
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 e)
throws DSMLProfileException
- Specified by:
parseXml
in interface DSMLUnmarshaller.Parseable
- Throws:
DSMLProfileException
toXML
protected java.lang.String toXML(java.lang.String s,
int indent,
boolean addNSInfo)
throws DSMLProfileException
- Throws:
DSMLProfileException
getItem
public org.openspml.v2.profiles.dsml.FilterItem getItem()
setItem
public void setItem(org.openspml.v2.profiles.dsml.FilterItem item)
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
Copyright © Sun Microsystems, Inc. All Rights Reserved.