Uses of Class
com.fasterxml.aalto.out.WName
Packages that use WName
-
Uses of WName in com.fasterxml.aalto.out
Subclasses of WName in com.fasterxml.aalto.outModifier and TypeClassDescriptionfinal class
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).(package private) final class
This class is similar toPName
, in that it implements an efficient representation of prefixed names, but one used on output (Writer) side.Fields in com.fasterxml.aalto.out declared as WNameModifier and TypeFieldDescriptionprivate WName
OutputElement._name
Prefixed name used for serialization.private WName[]
WNameTable.mMainNames
Array that containsWName
instances matching entries inmMainHash
.(package private) final WName
WNameTable.Bucket.mName
Methods in com.fasterxml.aalto.out that return WNameModifier and TypeMethodDescriptionprotected WName
RepairingStreamWriter._generateAttrName
(String suggPrefix, String localName, String uri) final WName
ByteXmlWriter.constructName
(String localName) ByteXmlWriter.constructName
(String prefix, String localName) CharXmlWriter.constructName
(String localName) CharXmlWriter.constructName
(String prefix, String localName) abstract WName
WNameFactory.constructName
(String localName) abstract WName
WNameFactory.constructName
(String prefix, String localName) abstract WName
XmlWriter.constructName
(String localName) abstract WName
XmlWriter.constructName
(String prefix, String localName) protected WName
AsciiXmlWriter.doConstructName
(String localName) protected WName
AsciiXmlWriter.doConstructName
(String prefix, String localName) protected abstract WName
ByteXmlWriter.doConstructName
(String localName) protected abstract WName
ByteXmlWriter.doConstructName
(String prefix, String localName) protected WName
Latin1XmlWriter.doConstructName
(String localName) protected WName
Latin1XmlWriter.doConstructName
(String prefix, String localName) protected WName
Utf8XmlWriter.doConstructName
(String localName) protected WName
Utf8XmlWriter.doConstructName
(String prefix, String localName) WNameTable.findSymbol
(String localName) WNameTable.findSymbol
(String prefix, String localName) Finds and returns name matching the specified symbol, if such name already exists in the table; or if not, creates name object, adds to the table, and returns it.OutputElement.getName()
Methods in com.fasterxml.aalto.out with parameters of type WNameModifier and TypeMethodDescriptionprotected final void
StreamWriterBase._verifyWriteAttr
(WName name) protected final void
StreamWriterBase._writeAttribute
(WName name, String value) protected final void
StreamWriterBase._writeAttribute
(WName name, org.codehaus.stax2.ri.typed.AsciiValueEncoder enc) protected void
StreamWriterBase._writeStartTag
(WName name, boolean isEmpty) protected void
StreamWriterBase._writeStartTag
(WName name, boolean isEmpty, String uri) private void
protected OutputElement
OutputElement.createChild
(WName name) Simplest factory method, which gets called when non-namespace element output method is called.protected OutputElement
OutputElement.createChild
(WName name, String uri) Full factory method, used for 'normal' namespace qualified output methods.private void
OutputElement.relink
(OutputElement parent, WName name, String uri) Method called to reuse a pooled instance, but with different nameprotected OutputElement
OutputElement.reuseAsChild
(OutputElement parent, WName name) protected OutputElement
OutputElement.reuseAsChild
(OutputElement parent, WName name, String nsURI) final void
ByteXmlWriter.writeAttribute
(WName name, char[] vbuf, int offset, int vlen) final void
ByteXmlWriter.writeAttribute
(WName name, String value) final void
ByteXmlWriter.writeAttribute
(WName name, org.codehaus.stax2.ri.typed.AsciiValueEncoder enc) void
CharXmlWriter.writeAttribute
(WName name, char[] value, int offset, int vlen) void
CharXmlWriter.writeAttribute
(WName name, String value) final void
CharXmlWriter.writeAttribute
(WName name, org.codehaus.stax2.ri.typed.AsciiValueEncoder enc) abstract void
XmlWriter.writeAttribute
(WName name, char[] value, int offset, int len) abstract void
XmlWriter.writeAttribute
(WName name, String value) Note: can throw XMLStreamException, if name checking is enabled, and name is invalid (name check has to be in this writer, not caller, since it depends not only on xml limitations, but also on encoding limitations)abstract void
XmlWriter.writeAttribute
(WName name, org.codehaus.stax2.ri.typed.AsciiValueEncoder enc) private final void
ByteXmlWriter.writeAttrNameEqQ
(WName name) void
void
abstract void
final void
ByteXmlWriter.writeEndTag
(WName name) void
CharXmlWriter.writeEndTag
(WName name) abstract void
XmlWriter.writeEndTag
(WName name) void
ByteXmlWriter.writeEntityReference
(WName name) void
CharXmlWriter.writeEntityReference
(WName name) abstract void
XmlWriter.writeEntityReference
(WName name) protected final void
ByteXmlWriter.writeLongAttribute
(WName name, String value, int vlen) protected final void
protected final void
protected final void
protected final void
int
int
abstract int
final void
ByteXmlWriter.writeStartTagStart
(WName name) void
CharXmlWriter.writeStartTagStart
(WName name) abstract void
XmlWriter.writeStartTagStart
(WName name) Note: can throw XMLStreamException, if name checking is enabled, and name is invalid (name check has to be in this writer, not caller, since it depends not only on xml limitations, but also on encoding limitations)Constructors in com.fasterxml.aalto.out with parameters of type WNameModifierConstructorDescription(package private)
Bucket
(WName name, WNameTable.Bucket next) private
OutputElement
(OutputElement parent, WName name, String uri, NsBinder binder)