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.
-
Constructor Summary
ConstructorsConstructorDescriptionJsoupXmlDeclarationNode(com.itextpdf.styledxmlparser.jsoup.nodes.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 com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupNode
addChild, childNodes, parentNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.itextpdf.styledxmlparser.node.INode
addChild, childNodes, parentNode
-
Constructor Details
-
JsoupXmlDeclarationNode
public JsoupXmlDeclarationNode(com.itextpdf.styledxmlparser.jsoup.nodes.XmlDeclaration xmlDeclaration) 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
-