|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.api.node.AttrValue
public class AttrValue
Contains informations about an attribute value.
Field Summary | |
---|---|
static AttrValue |
EMPTY_VALUE
Empty attribute value constant. |
Constructor Summary | |
---|---|
AttrValue(String specifiedValue)
Constructor for the attribute value. |
|
AttrValue(String normalizedValue,
String rawValue,
boolean isSpecified)
Constructor for the attribute value. |
Method Summary | |
---|---|
String |
getRawValue()
Get the attribute's raw value. |
String |
getValue()
Get the attribute normalized value. |
boolean |
isSpecified()
Checks if the attribute was specified in the XML document or comes as a default value from the schema, DTD, etc.. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AttrValue EMPTY_VALUE
Constructor Detail |
---|
public AttrValue(String specifiedValue)
specifiedValue
- The simple attribute value which will be used both as
raw value and normalized value.public AttrValue(String normalizedValue, String rawValue, boolean isSpecified)
normalizedValue
- Attribute normalized value (with entities expanded
and WS's collapsed).rawValue
- Attribute raw value (as it is specified in text with no WS's
collapsed).isSpecified
- true
if specified in XML, false
if this is a default value.Method Detail |
---|
public String getValue()
public String getRawValue()
public boolean isSpecified()
true
if the element is specified in XML, false
if this is
a default value.
|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |