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 theIAttribute
interface; wrapper for the JSoupAttribute
class.
-
-
Constructor Summary
Constructors Constructor Description JsoupAttribute(Attribute attribute)
Creates a newJsoupAttribute
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
Gets the key.java.lang.String
getValue()
Gets the value.
-
-
-
Constructor Detail
-
JsoupAttribute
public JsoupAttribute(Attribute attribute)
Creates a newJsoupAttribute
instance.- Parameters:
attribute
- the attribute
-
-
Method Detail
-
getKey
public java.lang.String getKey()
Description copied from interface:IAttribute
Gets the key.- Specified by:
getKey
in interfaceIAttribute
- Returns:
- the key
-
getValue
public java.lang.String getValue()
Description copied from interface:IAttribute
Gets the value.- Specified by:
getValue
in interfaceIAttribute
- Returns:
- the value
-
-