Package ch.nolix.core.document.xml
Klasse MutableXmlNode
java.lang.Object
ch.nolix.core.document.xml.MutableXmlNode
- Alle implementierten Schnittstellen:
IFluentMutableOptionalNameHolder<IMutableXmlNode>,IFluentMutableOptionalValueHolder<IMutableXmlNode,,String> IOptionalNameHolder,IOptionalValueHolder<String>,IMutableXmlNode,IXmlNode<IMutableXmlNode>
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaddAttribute(IXmlAttribute attribute) addAttributes(IXmlAttribute attribute, IXmlAttribute... attributes) addAttributes(Iterable<IXmlAttribute> attributes) addAttributeWithNameAndValue(String name, String value) addChildNode(IMutableXmlNode childNode) addChildNodes(IMutableXmlNode childNode, IMutableXmlNode... childNodes) addChildNodes(Iterable<IMutableXmlNode> childNodes) booleanbooleanstatic MutableXmlNodestatic MutableXmlNodefromXmlNode(IXmlNode<?> pXmlNode) intintgetName()getValue()booleanbooleanhasName()booleanhasValue()voidRemoves the name of the currentIFluentMutableOptionalNameHolder.voidRemoves the value of the currentIFluentMutableOptionalValueHolder.Sets the name of the currentIFluentMutableOptionalNameHolder.Sets the value of the currentIFluentMutableOptionalValueHolder.toString()Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.optionalattribute.IOptionalNameHolder
getNameInQuotes, hasName
-
Methodendetails
-
createBlankMutableXmlNode
-
fromXmlNode
-
addAttribute
- Angegeben von:
addAttributein SchnittstelleIMutableXmlNode
-
addAttributes
- Angegeben von:
addAttributesin SchnittstelleIMutableXmlNode
-
addAttributes
-
addAttributeWithNameAndValue
- Angegeben von:
addAttributeWithNameAndValuein SchnittstelleIMutableXmlNode
-
addChildNode
- Angegeben von:
addChildNodein SchnittstelleIMutableXmlNode
-
addChildNodes
- Angegeben von:
addChildNodesin SchnittstelleIMutableXmlNode
-
addChildNodes
-
containsAttributes
public boolean containsAttributes()- Angegeben von:
containsAttributesin SchnittstelleIXmlNode<IMutableXmlNode>
-
containsChildNodes
public boolean containsChildNodes()- Angegeben von:
containsChildNodesin SchnittstelleIXmlNode<IMutableXmlNode>
-
getAttributes
- Angegeben von:
getAttributesin SchnittstelleIXmlNode<IMutableXmlNode>
-
getAttributeCount
public int getAttributeCount() -
getChildNodeCount
public int getChildNodeCount() -
getName
- Angegeben von:
getNamein SchnittstelleIOptionalNameHolder- Gibt zurück:
- the name of the current
IOptionalNameHolder.
-
getStoredChildNodes
- Angegeben von:
getStoredChildNodesin SchnittstelleIXmlNode<IMutableXmlNode>
-
getValue
- Angegeben von:
getValuein SchnittstelleIOptionalValueHolder<String>- Gibt zurück:
- the value of the current
IOptionalValueHolder.
-
hasMixedContent
public boolean hasMixedContent()- Angegeben von:
hasMixedContentin SchnittstelleIXmlNode<IMutableXmlNode>
-
hasName
public boolean hasName()- Angegeben von:
hasNamein SchnittstelleIOptionalNameHolder- Gibt zurück:
- true if the current
IOptionalNameHolderhas a name, false otherwise.
-
hasValue
public boolean hasValue()- Angegeben von:
hasValuein SchnittstelleIOptionalValueHolder<String>- Gibt zurück:
- true if the current
IOptionalValueHolderhas a value.
-
removeAttributes
-
removeChildNodes
-
removeName
public void removeName()Beschreibung aus Schnittstelle kopiert:IFluentMutableOptionalNameHolderRemoves the name of the currentIFluentMutableOptionalNameHolder.- Angegeben von:
removeNamein SchnittstelleIFluentMutableOptionalNameHolder<IMutableXmlNode>
-
removeValue
public void removeValue()Beschreibung aus Schnittstelle kopiert:IFluentMutableOptionalValueHolderRemoves the value of the currentIFluentMutableOptionalValueHolder.- Angegeben von:
removeValuein SchnittstelleIFluentMutableOptionalValueHolder<IMutableXmlNode,String>
-
setName
Beschreibung aus Schnittstelle kopiert:IFluentMutableOptionalNameHolderSets the name of the currentIFluentMutableOptionalNameHolder.- Angegeben von:
setNamein SchnittstelleIFluentMutableOptionalNameHolder<IMutableXmlNode>- Parameter:
name-- Gibt zurück:
- the current
IFluentMutableOptionalNameHolder.
-
setValue
Beschreibung aus Schnittstelle kopiert:IFluentMutableOptionalValueHolderSets the value of the currentIFluentMutableOptionalValueHolder.- Angegeben von:
setValuein SchnittstelleIFluentMutableOptionalValueHolder<IMutableXmlNode,String> - Parameter:
value-- Gibt zurück:
- the current
IFluentMutableOptionalValueHolder.
-
toFormatedString
-
toString
-