|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.outline.xml.Attribute
public class Attribute
An attribute representation used mainly in the content completion process.
Constructor Summary | |
---|---|
Attribute(java.lang.String qName,
java.lang.String value,
java.lang.String namespace,
java.lang.String prefix)
Creates an attribute with a specified qualified name, value, namespace and prefix. |
Method Summary | |
---|---|
java.lang.String |
getLocalName()
Gets the attribute local name. |
int |
getNameEndOffset()
|
java.lang.String |
getNamespace()
Gets the attribute namespace. |
int |
getNameStartOffset()
|
java.lang.String |
getPrefix()
|
java.lang.String |
getQName()
Gets the attribute fully qualified name. |
java.lang.String |
getValue()
Gets for the attribute value. |
int |
getValueEndOffset()
|
int |
getValueStartOffset()
|
boolean |
isDefaultNamespaceDeclaration()
|
boolean |
isNamespaceDeclaration()
|
void |
setNameEndOffset(int nameEndOffset)
|
void |
setNamespace(java.lang.String namespace)
|
void |
setNameStartOffset(int nameStartOffset)
|
void |
setValueEndOffset(int valueEndOffset)
|
void |
setValueStartOffset(int valueStartOffset)
|
java.lang.String |
toString()
Return the string representation of the attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Attribute(java.lang.String qName, java.lang.String value, java.lang.String namespace, java.lang.String prefix)
qName
- The attribute fully qualified name.value
- The attribute value.namespace
- The attribute namespace.prefix
- The attribute prefix.Method Detail |
---|
public java.lang.String getQName()
public java.lang.String getValue()
null
.public java.lang.String getNamespace()
public java.lang.String getLocalName()
public java.lang.String toString()
toString
in class java.lang.Object
public int getNameEndOffset()
public int getNameStartOffset()
public int getValueEndOffset()
public int getValueStartOffset()
public boolean isNamespaceDeclaration()
true
the attribute is namespace declaration.public java.lang.String getPrefix()
public void setNamespace(java.lang.String namespace)
namespace
- The attribute namespace to set.public void setNameStartOffset(int nameStartOffset)
nameStartOffset
- The attribute name start offset to set.public void setNameEndOffset(int nameEndOffset)
nameEndOffset
- The attribute name end offset to set.public void setValueStartOffset(int valueStartOffset)
valueStartOffset
- The value start offset to set.public void setValueEndOffset(int valueEndOffset)
valueEndOffset
- The value end offset to set.public boolean isDefaultNamespaceDeclaration()
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |