Top Description Fields Constructors Methods
com.fasterxml.aalto.out

public final Class ByteWName

extends WName
Class Inheritance
Imports
java.io.*

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

Modifier and TypeField and Description
pack-priv final byte[]
Inherited from com.fasterxml.aalto.out.WName:
_localName_prefix

Constructor Summary

AccessConstructor and Description
protected
ByteWName(String ln, byte[] bytes)

protected
ByteWName(String prefix, String ln, byte[] bytes)

Method Summary

Modifier and TypeMethod and Description
public int
appendBytes(byte[] buffer, int offset)

Implements abstract com.fasterxml.aalto.out.WName.appendBytes.

public int
appendChars(char[] buffer, int offset)

Implements abstract com.fasterxml.aalto.out.WName.appendChars.

public final int
public void
public void
Inherited from com.fasterxml.aalto.out.WName:
equalsgetLocalNamegetPrefixgetPrefixedNamehashCodehasNamehasNamehasPrefixtoString

Field Detail

_bytesback to summary
pack-priv final byte[] _bytes

Constructor Detail

ByteWNameback to summary
protected ByteWName(String ln, byte[] bytes)
ByteWNameback to summary
protected ByteWName(String prefix, String ln, byte[] bytes)

Method Detail

appendBytesback to summary
public int appendBytes(byte[] buffer, int offset)

Implements abstract com.fasterxml.aalto.out.WName.appendBytes.

Annotations
@Override
appendCharsback to summary
public int appendChars(char[] buffer, int offset)

Implements abstract com.fasterxml.aalto.out.WName.appendChars.

Annotations
@Override
serializedLengthback to summary
public final int serializedLength()

Implements abstract com.fasterxml.aalto.out.WName.serializedLength.

Returns:int

Doc from com.fasterxml.aalto.out.WName.serializedLength.

Length of full (qualified) name, in native serialization units (bytes or characters)

Annotations
@Override
writeBytesback to summary
public void writeBytes(OutputStream out) throws IOException

Implements abstract com.fasterxml.aalto.out.WName.writeBytes.

Annotations
@Override
writeCharsback to summary
public void writeChars(Writer w) throws IOException

Implements abstract com.fasterxml.aalto.out.WName.writeChars.

Annotations
@Override