This object is used so reduce the number of method call parameters
among unmarshallers.
An instance of this is expected to be reused by the caller of
XmlVisitor. Note that the rest of the unmarshaller may
modify any of the fields while processing an event (such as to
intern strings, replace attributes),
so XmlVisitor should reset all fields for each use.
The 'qname' parameter, which holds the qualified name of the tag (such as 'foo:bar' or 'zot'), is not used in the typical unmarshalling route and it's also expensive to compute for some input. Thus this parameter is computed lazily.
| Modifier and Type | Field and Description |
|---|---|
| public Attributes | atts
Used only for the enterElement event. |
| public String | local
Local part of the attribute/element name. |
| public String | uri
URI of the attribute/element name. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public QName | |
| public String | |
| public abstract String | |
| public final boolean | |
| public final boolean | |
| public String |
| atts | back to summary |
|---|---|
| public Attributes atts Used only for the enterElement event.
Otherwise the value is undefined.
This might be | |
| local | back to summary |
|---|---|
| public String local Local part of the attribute/element name. Never be null. Interned. | |
| uri | back to summary |
|---|---|
| public String uri URI of the attribute/element name. Can be empty, but never null. Interned. | |
| TagName | back to summary |
|---|---|
| public TagName() | |
| createQName | back to summary |
|---|---|
| public QName createQName() Creates | |
| getPrefix | back to summary |
|---|---|
| public String getPrefix() Gets the prefix. This is slow.
| |
| getQname | back to summary |
|---|---|
| public abstract String getQname() Gets the qualified name of the tag.
| |
| matches | back to summary |
|---|---|
| public final boolean matches(String nsUri, String local) Checks if the given name pair matches this name. | |
| matches | back to summary |
|---|---|
| public final boolean matches(Name name) Checks if the given name pair matches this name. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |