Class JsoupXmlDeclarationNode
java.lang.Object
com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupNode
com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupXmlDeclarationNode
- All Implemented Interfaces:
IAttributesContainer, INameContainer, INode, IXmlDeclarationNode
Implementation of the
IXmlDeclarationNode interface; wrapper for the JSoup XmlDeclaration class.-
Field Summary
FieldsFields inherited from class JsoupNode
parentNode -
Constructor Summary
ConstructorsConstructorDescriptionJsoupXmlDeclarationNode(XmlDeclaration xmlDeclaration) Creates a newJsoupXmlDeclarationNodeinstance. -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) Gets an attribute.Gets the attributes.name()Gets the name of the element node.Methods inherited from class JsoupNode
addChild, childNodes, parentNodeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface INode
addChild, childNodes, parentNode
-
Field Details
-
attributes
-
xmlDeclaration
-
-
Constructor Details
-
JsoupXmlDeclarationNode
Creates a newJsoupXmlDeclarationNodeinstance.- Parameters:
xmlDeclaration- the xml declaration node
-
-
Method Details
-
getAttributes
Description copied from interface:IAttributesContainerGets the attributes.- Specified by:
getAttributesin interfaceIAttributesContainer- Returns:
- the attributes
-
getAttribute
Description copied from interface:IAttributesContainerGets an attribute.- Specified by:
getAttributein interfaceIAttributesContainer- Parameters:
key- the key of the attribute we want to get- Returns:
- the value of the attribute
-
name
Description copied from interface:INameContainerGets the name of the element node.- Specified by:
namein interfaceINameContainer- Returns:
- the string
-