com.fasterxml.aalto.in.PName , in
that it implements an efficient representation of prefixed names,
but one used on output (Writer) side.Note
unlike with Reader-side prefixed names, here we can not
assume that components are intern()ed.
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract int | |
| public abstract int | |
| public final boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public final String | |
| public final String | |
| public final String | |
| public int | hashCode()
Overrides java. |
| public final boolean | |
| public final boolean | |
| public final boolean | |
| public abstract int | Returns: Length of full (qualified) name, in native serialization units (bytes or characters)
|
| public String | |
| public abstract void | |
| public abstract void |
| _localName | back to summary |
|---|---|
| protected final String _localName | |
| _prefix | back to summary |
|---|---|
| protected final String _prefix | |
| WName | back to summary |
|---|---|
| protected WName(String ln) | |
| WName | back to summary |
|---|---|
| protected WName(String prefix, String ln) | |
| appendBytes | back to summary |
|---|---|
| public abstract int appendBytes(byte[] buffer, int offset) | |
| appendChars | back to summary |
|---|---|
| public abstract int appendChars(char[] buffer, int offset) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getLocalName | back to summary |
|---|---|
| public final String getLocalName() | |
| getPrefix | back to summary |
|---|---|
| public final String getPrefix() | |
| getPrefixedName | back to summary |
|---|---|
| public final String getPrefixedName() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Whether we should use internal hash, or the hash of prefixed name string itself is an open question. For now, let's use former.
| |
| hasName | back to summary |
|---|---|
| public final boolean hasName(String localName) | |
| hasName | back to summary |
|---|---|
| public final boolean hasName(String prefix, String localName) | |
| hasPrefix | back to summary |
|---|---|
| public final boolean hasPrefix() | |
| serializedLength | back to summary |
|---|---|
public abstract int serializedLength()
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeBytes | back to summary |
|---|---|
| public abstract void writeBytes(OutputStream out) throws IOException | |
| writeChars | back to summary |
|---|---|
| public abstract void writeChars(Writer w) throws IOException | |