| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| private final COSDictionary | |
| private PDNameTreeNode |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| protected abstract T | Returns: The converted PD Model object.The COS object to convert. base)Method to convert the COS value in the name tree to the PD Model object. |
| protected abstract PDNameTreeNode | Returns: The new child node object.The dictionary for the child node object to refer to. dic)Create a child node object. |
| public COSDictionary | Returns: The cos object that matches this Java object.Implements org. Convert this standard java object to a COS object. |
| public List | Returns: The list of children or null if there are no children.Return the children of this node. |
| public String | Returns: The lowest value for a key in the map.Get the lowest value for a key in the name map. |
| public Map | Returns: ordered map of COS objects ornull if the dictionary
contains no 'Names' entry on this level.This will return a map of names on this level. |
| public PDNameTreeNode | |
| public String | Returns: The highest value for a key in the map.Get the highest value for a key in the name map. |
| public T | |
| public boolean | |
| public void | setKids(List<? extends PDNameTreeNode<T>>
The children of this named tree. These have to be in sorted order. Because of
that, it is usually easier to call kids)setNames(Map) with a map and pass a single
element list here.Set the children of this named tree. |
| private void | setLowerLimit(String
The new lowest value for a key in the map. lower)Set the lowest value for the key in the map. |
| public void | |
| public void | setParent(PDNameTreeNode<T>
the node to be set as parent parentNode)Sets the parent to the given node. |
| private void | setUpperLimit(String
The new highest value for a key in the map. upper)Set the highest value for the key in the map. |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| node | back to summary |
|---|---|
| private final COSDictionary node | |
| parent | back to summary |
|---|---|
| private PDNameTreeNode<T> parent | |
| PDNameTreeNode | back to summary |
|---|---|
| protected PDNameTreeNode() Constructor. | |
| PDNameTreeNode | back to summary |
|---|---|
| protected PDNameTreeNode(COSDictionary dict) Constructor.
| |
| calculateLimits | back to summary |
|---|---|
| private void calculateLimits() | |
| convertCOSToPD | back to summary |
|---|---|
| protected abstract T convertCOSToPD(COSBase base) throws IOException Method to convert the COS value in the name tree to the PD Model object. The default implementation will simply return the given COSBase object. Subclasses should do something specific.
| |
| createChildNode | back to summary |
|---|---|
| protected abstract PDNameTreeNode Create a child node object.
| |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. Convert this standard java object to a COS object.
| |
| getKids | back to summary |
|---|---|
| public List Return the children of this node. This list will contain PDNameTreeNode objects.
| |
| getLowerLimit | back to summary |
|---|---|
| public String getLowerLimit() Get the lowest value for a key in the name map.
| |
| getNames | back to summary |
|---|---|
| public Map This will return a map of names on this level. The key will be a string, and the value will depend on where this class is being used.
| |
| getParent | back to summary |
|---|---|
| public PDNameTreeNode Returns the parent node.
| |
| getUpperLimit | back to summary |
|---|---|
| public String getUpperLimit() Get the highest value for a key in the name map.
| |
| getValue | back to summary |
|---|---|
| public T getValue(String name) throws IOException The name to retrieve.
| |
| isRootNode | back to summary |
|---|---|
| public boolean isRootNode() Determines if this is a root node or not.
| |
| setKids | back to summary |
|---|---|
| public void setKids(List<? extends PDNameTreeNode<T>> kids) Set the children of this named tree.
| |
| setLowerLimit | back to summary |
|---|---|
| private void setLowerLimit(String lower) Set the lowest value for the key in the map.
| |
| setNames | back to summary |
|---|---|
| public void setNames(Map<String, T> names) Set the names for this node. This method will set the appropriate upper and lower limits based on the keys in the map and take care of the ordering. | |
| setParent | back to summary |
|---|---|
| public void setParent(PDNameTreeNode<T> parentNode) Sets the parent to the given node.
| |
| setUpperLimit | back to summary |
|---|---|
| private void setUpperLimit(String upper) Set the highest value for the key in the map.
| |