public class SimpleFacet extends Facet
Constructor and Description |
---|
SimpleFacet(java.lang.String facetDef,
java.lang.String facetVal)
Sets value and definition
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
void |
exportWf2Xml(javax.xml.stream.XMLStreamWriter writer)
Writes facets to output-format
|
java.lang.String |
getFacetDefinition()
Returns the definition of the facet
|
java.lang.String |
getFacetValue()
Gets facet value.
|
int |
hashCode() |
void |
setFacetDefinition(java.lang.String facetDefinition)
Sets the definition of the facet.
|
void |
setFacetValue(java.lang.String facetValue)
Sets facet value.
|
public SimpleFacet(java.lang.String facetDef, java.lang.String facetVal)
facetDef
- facetVal
- public java.lang.String getFacetDefinition()
public void setFacetDefinition(java.lang.String facetDefinition)
facetDefinition
- public java.lang.String getFacetValue()
public void setFacetValue(java.lang.String facetValue)
facetValue
- public void exportWf2Xml(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
exportWf2Xml
in class Facet
writer
- stream-writer that is used to write outjavax.xml.stream.XMLStreamException