public abstract class AbstractNodeWithAttributes extends AbstractNode
| Modifier and Type | Field and Description |
|---|---|
static int |
MAP_TYPE_FLYWEIGHT |
static int |
MAP_TYPE_HASH |
| Modifier | Constructor and Description |
|---|---|
|
AbstractNodeWithAttributes(java.lang.String tag) |
protected |
AbstractNodeWithAttributes(java.lang.String tag,
Node parent) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this element.
|
protected java.lang.Object |
doGetAttribute(java.lang.String key)
Do implement this Method.
|
protected boolean |
doSetAttribute(java.lang.String key,
java.lang.Object value)
Do implement this Method.
|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributeMap()
Gets a map of all defined attributes.
|
static int |
getDefaultMapType()
Gets the default type of attribute-map.
|
java.util.Set<java.lang.String> |
getDefinedAttributes() |
static void |
setDefaultMapType(int mapType)
Sets the default type of attribute-map.
|
addAttributeChangeListener, addElements, addElements, clearEqualAttributes, clearInheratedAttribute, clearInheratedAttributes, clearValue, contains, contains, copyAttributes, createID, findFirstNodeWithText, findNode, findNodesWithText, fire, fireSaxEvents, firstElement, getAttrAsBoolean, getAttrAsInteger, getAttrAsString, getAttrAsString, getAttribute, getAttribute, getAttributeMap, getContentText, getContentText, getDefinedAttributes, getElements, getElements, getElements, getElements, getFirstElement, getIndex, getLocalName, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getParent, getParent, getParent, getParentOrThis, getQName, getRoot, hasEqualAttrs, indexOf, isEmpty, lastElement, liftInheritedAttribute, removeAttributeChangeListener, setAttribute, setAttributes, setAttrIfNotNull, setEnableAttributeChangeEvent, setNamespace, setParent, setQName, setUndefinedAttributes, writeTo, writeTo, writeTo, writeToequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddElement, addElement, removeElement, removeElement, replaceElement, setElementpublic static final int MAP_TYPE_HASH
public static final int MAP_TYPE_FLYWEIGHT
public AbstractNodeWithAttributes(java.lang.String tag)
protected AbstractNodeWithAttributes(java.lang.String tag,
Node parent)
public static final void setDefaultMapType(int mapType)
mapType - Map type.public static final int getDefaultMapType()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
NodeElementclone in interface NodeElementclone in class AbstractNodejava.lang.CloneNotSupportedExceptionpublic java.util.Set<java.lang.String> getDefinedAttributes()
public java.util.Map<java.lang.String,java.lang.Object> getAttributeMap()
AbstractNodegetAttributeMap in interface NodegetAttributeMap in class AbstractNodeprotected java.lang.Object doGetAttribute(java.lang.String key)
AbstractNodedoGetAttribute in class AbstractNodekey - Name of attribute, always lower case.protected boolean doSetAttribute(java.lang.String key,
java.lang.Object value)
AbstractNodedoSetAttribute in class AbstractNodekey - Name of attribute, always lower case.value - New value.© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.