public final class ElementEndImpl extends Object implements ElementEnd
ElementEnd
.
Instances of this class are immutable and thread safe.
Constructor and Description |
---|
ElementEndImpl(QName name,
int depth)
Constructs a new
ElementEndImpl . |
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
Returns the depth of this element.
|
QName |
getName()
Returns the name of the xml element.
|
XmlItemType |
getType()
Returns the type of this xml item.
|
public ElementEndImpl(QName name, int depth)
ElementEndImpl
.name
- the name of the elementdepth
- the depth of the elementpublic QName getName()
getName
in interface ElementEnd
public int getDepth()
The depth of the root element is 0.
getDepth
in interface ElementEnd
public XmlItemType getType()
Copyright © 2014. All rights reserved.