|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.impl.transform.NameSpaceSymbTable
public class NameSpaceSymbTable
A stack based Symble Table.
For speed reasons all the symbols are introduced in the same map,
and at the same time in a list so it can be removed when the frame is pop back.
| Constructor Summary | |
|---|---|
NameSpaceSymbTable()
Default constractor |
|
| Method Summary | |
|---|---|
boolean |
addMapping(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Attr n)
Adds the mapping for a prefix. |
org.w3c.dom.Node |
addMappingAndRender(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Attr n)
Adds a definition and mark it as render. |
org.w3c.dom.Node |
addMappingAndRenderXNodeSet(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Attr n,
boolean outputNode)
Adds & gets(if needed) the attribute node that defines the binding for the prefix. |
org.w3c.dom.Attr |
getMapping(java.lang.String prefix)
Gets the attribute node that defines the binding for the prefix. |
org.w3c.dom.Attr |
getMappingWithoutRendered(java.lang.String prefix)
Gets a definition without mark it as render. |
void |
getUnrenderedNodes(java.util.Collection result)
Get all the unrendered nodes in the name space. |
void |
outputNodePop()
Pop a frame for visible namespace. |
void |
outputNodePush()
Push a frame for visible namespace. |
void |
pop()
Pop a frame. |
void |
push()
Push a frame for a node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NameSpaceSymbTable()
| Method Detail |
|---|
public void getUnrenderedNodes(java.util.Collection result)
result - the list where to fill the unrendered xmlns definitions.public void outputNodePush()
public void outputNodePop()
public void push()
public void pop()
public org.w3c.dom.Attr getMapping(java.lang.String prefix)
prefix - the prefix to obtain the attribute.
public org.w3c.dom.Attr getMappingWithoutRendered(java.lang.String prefix)
prefix - The prefix whose definition is neaded.
public boolean addMapping(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Attr n)
prefix - the prefix of definitionuri - the Uri of the definitionn - the attribute that have the definition
public org.w3c.dom.Node addMappingAndRender(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Attr n)
prefix - the prefix of definitionuri - the Uri of the definitionn - the attribute that have the definition
public org.w3c.dom.Node addMappingAndRenderXNodeSet(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Attr n,
boolean outputNode)
prefix - the prefix to obtain the attribute.outputNode - the container element is an output element.uri - the Uri of the definitionn - the attribute that have the definition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||