|
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.outline.xml.Attribute
public class Attribute
An attribute representation used mainly in the content completion process.
Constructor Summary | |
---|---|
Attribute(String qName,
String value,
String namespace,
String prefix)
Creates an attribute with a specified qualified name, value, namespace and prefix. |
Method Summary | |
---|---|
String |
getLocalName()
Gets the attribute local name. |
int |
getNameEndOffset()
|
String |
getNamespace()
Gets the attribute namespace. |
int |
getNameStartOffset()
|
String |
getPrefix()
|
String |
getQName()
Gets the attribute fully qualified name. |
String |
getValue()
Gets for the attribute value. |
int |
getValueEndOffset()
|
int |
getValueStartOffset()
|
boolean |
isDefaultNamespaceDeclaration()
|
boolean |
isNamespaceDeclaration()
|
void |
setNameEndOffset(int nameEndOffset)
|
void |
setNamespace(String namespace)
|
void |
setNameStartOffset(int nameStartOffset)
|
void |
setValueEndOffset(int valueEndOffset)
|
void |
setValueStartOffset(int valueStartOffset)
|
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(String qName, String value, String namespace, String prefix)
qName
- The attribute fully qualified name.value
- The attribute value.namespace
- The attribute namespace.prefix
- The attribute prefix.Method Detail |
---|
public String getQName()
public String getValue()
null
.public String getNamespace()
public String getLocalName()
public String toString()
toString
in class Object
public int getNameEndOffset()
public int getNameStartOffset()
public int getValueEndOffset()
public int getValueStartOffset()
public boolean isNamespaceDeclaration()
true
the attribute is namespace declaration.public String getPrefix()
public void setNamespace(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 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |