public class XmlTag
extends sidekick.Asset
Modifier and Type | Field and Description |
---|---|
org.xml.sax.Attributes |
attributes |
java.lang.String |
attributeString |
boolean |
empty |
java.lang.String |
idAttributeString |
java.lang.String |
namespace |
NamespaceBindings |
namespaceBindings
namespace -> prefix
|
Constructor and Description |
---|
XmlTag(java.lang.String name,
java.lang.String namespace,
javax.swing.text.Position start,
org.xml.sax.Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
void |
addCharacters(char[] chars)
If
canAddCharacters returns true, characters from the body of
the tag will be accumulated. |
boolean |
canAddCharacters() |
java.lang.String |
getCharacters() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getLocalName() |
java.lang.String |
getLongString() |
java.lang.String |
getPrefix() |
java.lang.String |
getShortString() |
java.lang.String |
toString() |
public org.xml.sax.Attributes attributes
public java.lang.String attributeString
public java.lang.String idAttributeString
public boolean empty
public java.lang.String namespace
public NamespaceBindings namespaceBindings
public XmlTag(java.lang.String name, java.lang.String namespace, javax.swing.text.Position start, org.xml.sax.Attributes attributes)
public javax.swing.Icon getIcon()
public java.lang.String getLongString()
public java.lang.String getShortString()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getLocalName()
public java.lang.String getPrefix()
public boolean canAddCharacters()
true
if this tag should accumulate the characters from
the body of a tag. This default implementation returns false
.
Subclasses may override to return true
.public void addCharacters(char[] chars)
canAddCharacters
returns true, characters from the body of
the tag will be accumulated.public java.lang.String getCharacters()
canAddCharacters
returns false
.