Class PageMarginBoxContextNode.AttributesStub
- java.lang.Object
-
- com.itextpdf.styledxmlparser.css.page.PageMarginBoxContextNode.AttributesStub
-
- All Implemented Interfaces:
IAttributes
,java.lang.Iterable<IAttribute>
- Enclosing class:
- PageMarginBoxContextNode
private static class PageMarginBoxContextNode.AttributesStub extends java.lang.Object implements IAttributes
A simpleIAttributes
implementation.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AttributesStub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAttribute(java.lang.String key)
Gets the value of an attribute, given a key.java.util.Iterator<IAttribute>
iterator()
void
setAttribute(java.lang.String key, java.lang.String value)
Adds a key and a value of an attributes.int
size()
Returns the number of attributes.
-
-
-
Method Detail
-
getAttribute
public java.lang.String getAttribute(java.lang.String key)
Gets the value of an attribute, given a key.- Specified by:
getAttribute
in interfaceIAttributes
- Parameters:
key
- the key- Returns:
- the attribute
-
setAttribute
public void setAttribute(java.lang.String key, java.lang.String value)
Adds a key and a value of an attributes.- Specified by:
setAttribute
in interfaceIAttributes
- Parameters:
key
- the keyvalue
- the value
-
size
public int size()
Returns the number of attributes.- Specified by:
size
in interfaceIAttributes
- Returns:
- the number of attributes
-
iterator
public java.util.Iterator<IAttribute> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<IAttribute>
-
-