|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.bind.v2.runtime.output.NamespaceContextImpl.Element
public final class NamespaceContextImpl.Element
This model of namespace declarations maintain the following invariants.
Field Summary | |
---|---|
NamespaceContextImpl |
context
|
Method Summary | |
---|---|
int |
count()
Gets the number of bindings declared on this element. |
void |
endElement(XmlOutput out)
|
int |
getBase()
|
Object |
getInnerPeer()
|
String |
getNsUri(int idx)
Gets the namespace URI declared in this context. |
Object |
getOuterPeer()
|
NamespaceContextImpl.Element |
getParent()
Gets the parent NamespaceContextImpl.Element . |
String |
getPrefix(int idx)
Gets the prefix declared in this context. |
boolean |
isRootElement()
Returns true if this NamespaceContextImpl.Element represents the root element that
we are marshalling. |
NamespaceContextImpl.Element |
pop()
|
NamespaceContextImpl.Element |
push()
|
void |
setTagName(int prefix,
String localName,
Object outerPeer)
|
void |
setTagName(Name tagName,
Object outerPeer)
|
void |
startElement(XmlOutput out,
Object innerPeer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final NamespaceContextImpl context
Method Detail |
---|
public boolean isRootElement()
NamespaceContextImpl.Element
represents the root element that
we are marshalling.
public NamespaceContextImpl.Element push()
public NamespaceContextImpl.Element pop()
public void setTagName(int prefix, String localName, Object outerPeer)
public void setTagName(Name tagName, Object outerPeer)
public void startElement(XmlOutput out, Object innerPeer) throws IOException, javax.xml.stream.XMLStreamException
public void endElement(XmlOutput out) throws IOException, SAXException, javax.xml.stream.XMLStreamException
public final int count()
public final String getPrefix(int idx)
idx
- between 0 and count()
public final String getNsUri(int idx)
idx
- between 0 and count()
public int getBase()
public Object getOuterPeer()
public Object getInnerPeer()
public NamespaceContextImpl.Element getParent()
NamespaceContextImpl.Element
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |