Class ByteWName
java.lang.Object
com.fasterxml.aalto.out.WName
com.fasterxml.aalto.out.ByteWName
This class is used to represent all names that are to be serialized
to byte streams, independent of specific encoding used (they will
be stored on per-encoding symbol tables however).
-
Field Summary
FieldsFields inherited from class WName
_localName, _prefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintappendBytes(byte[] buffer, int offset) intappendChars(char[] buffer, int offset) final intvoidwriteBytes(OutputStream out) voidwriteChars(Writer w) Methods inherited from class WName
equals, getLocalName, getPrefix, getPrefixedName, hashCode, hasName, hasName, hasPrefix, toString
-
Field Details
-
_bytes
final byte[] _bytes
-
-
Constructor Details
-
ByteWName
-
ByteWName
-
-
Method Details
-
serializedLength
public final int serializedLength()- Specified by:
serializedLengthin classWName- Returns:
- Length of full (qualified) name, in native serialization units (bytes or characters)
-
appendBytes
public int appendBytes(byte[] buffer, int offset) - Specified by:
appendBytesin classWName
-
writeBytes
- Specified by:
writeBytesin classWName- Throws:
IOException
-
appendChars
public int appendChars(char[] buffer, int offset) - Specified by:
appendCharsin classWName
-
writeChars
- Specified by:
writeCharsin classWName- Throws:
IOException
-