Class JsoupAttribute
- java.lang.Object
-
- com.itextpdf.styledxmlparser.node.impl.jsoup.node.JsoupAttribute
-
- All Implemented Interfaces:
IAttribute
public class JsoupAttribute extends java.lang.Object implements IAttribute
Implementation of theIAttributeinterface; wrapper for the JSoupAttributeclass.
-
-
Constructor Summary
Constructors Constructor Description JsoupAttribute(Attribute attribute)Creates a newJsoupAttributeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKey()Gets the key.java.lang.StringgetValue()Gets the value.
-
-
-
Constructor Detail
-
JsoupAttribute
public JsoupAttribute(Attribute attribute)
Creates a newJsoupAttributeinstance.- Parameters:
attribute- the attribute
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Description copied from interface:IAttributeGets the key.- Specified by:
getKeyin interfaceIAttribute- Returns:
- the key
-
getValue
public java.lang.String getValue()
Description copied from interface:IAttributeGets the value.- Specified by:
getValuein interfaceIAttribute- Returns:
- the value
-
-