public final class NamespaceContextImpl.Element extends Object
Modifier and Type | Field and Description |
---|---|
NamespaceContextImpl |
context |
Modifier and Type | Method and Description |
---|---|
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) |
public final NamespaceContextImpl context
public boolean isRootElement()
NamespaceContextImpl.Element
represents the root element that
we are marshalling.public NamespaceContextImpl.Element push()
public NamespaceContextImpl.Element pop()
public void startElement(XmlOutput out, Object innerPeer) throws IOException, XMLStreamException
IOException
XMLStreamException
public void endElement(XmlOutput out) throws IOException, SAXException, 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
.Copyright © 2018 JBoss by Red Hat. All rights reserved.