Additional top-level classes in compilation unit: NameSpaceSymbEntry, SymbMap.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static final SymbMap | |
| private final List | level
The stacks for removing the definitions when doing pop. |
| private static final Logger | |
| private SymbMap | symb
The map between prefix-> entry table. |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if there is already defined.the prefix of definition prefix, String the Uri of the definition uri, Attr the attribute that have the definition n)Adds the mapping for a prefix. |
| public Node | Returns: the attr to render, null if there is no need to renderthe prefix of definition prefix, String the Uri of the definition uri, Attr the attribute that have the definition n)Adds a definition and mark it as render. |
| public int | |
| public Attr | Returns: null if there is no need to render the prefix. Otherwise the node of definition.the prefix to obtain the attribute. prefix)Gets the attribute node that defines the binding for the prefix. |
| public Attr | Returns: the attr to render, null if there is no need to renderThe prefix whose definition is needed. prefix)Gets a definition without mark it as render. |
| public void | getUnrenderedNodes(Collection<Attr>
the list where to fill the unrendered xmlns definitions. result)Get all the unrendered nodes in the name space. |
| pack-priv final void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean |
| cloned | back to summary |
|---|---|
| private boolean cloned | |
| initialMap | back to summary |
|---|---|
| private static final SymbMap initialMap | |
| level | back to summary |
|---|---|
| private final List<SymbMap> level The stacks for removing the definitions when doing pop. | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| symb | back to summary |
|---|---|
| private SymbMap symb The map between prefix-> entry table. | |
| XMLNS | back to summary |
|---|---|
| private static final String XMLNS | |
| NameSpaceSymbTable | back to summary |
|---|---|
| public NameSpaceSymbTable() Default constructor | |
| addMapping | back to summary |
|---|---|
| public boolean addMapping(String prefix, String uri, Attr n) Adds the mapping for a prefix. | |
| addMappingAndRender | back to summary |
|---|---|
| public Node addMappingAndRender(String prefix, String uri, Attr n) Adds a definition and mark it as render. For inclusive c14n. | |
| getLevel | back to summary |
|---|---|
| public int getLevel() | |
| getMapping | back to summary |
|---|---|
| public Attr getMapping(String prefix) Gets the attribute node that defines the binding for the prefix. | |
| getMappingWithoutRendered | back to summary |
|---|---|
| public Attr getMappingWithoutRendered(String prefix) Gets a definition without mark it as render. For render in exclusive c14n the namespaces in the include prefixes. | |
| getUnrenderedNodes | back to summary |
|---|---|
| public void getUnrenderedNodes(Collection<Attr> result) Get all the unrendered nodes in the name space. For Inclusive rendering
| |
| needsClone | back to summary |
|---|---|
| pack-priv final void needsClone() | |
| outputNodePop | back to summary |
|---|---|
| public void outputNodePop() Pop a frame for visible namespace. | |
| outputNodePush | back to summary |
|---|---|
| public void outputNodePush() Push a frame for visible namespace. For Inclusive rendering. | |
| pop | back to summary |
|---|---|
| public void pop() Pop a frame. Inclusive or Exclusive. | |
| push | back to summary |
|---|---|
| public void push() Push a frame for a node. Inclusive or Exclusive. | |
| removeMapping | back to summary |
|---|---|
| public void removeMapping(String prefix) | |
| removeMappingIfNotRender | back to summary |
|---|---|
| public void removeMappingIfNotRender(String prefix) | |
| removeMappingIfRender | back to summary |
|---|---|
| public boolean removeMappingIfRender(String prefix) | |