Package org.apache.sis.xml
Class TransformedEvent.Type
java.lang.Object
org.apache.sis.xml.TransformedEvent<Attribute>
org.apache.sis.xml.TransformedEvent.Attr
org.apache.sis.xml.TransformedEvent.Type
- All Implemented Interfaces:
Attribute,XMLEvent,XMLStreamConstants
- Enclosing class:
- TransformedEvent<E extends XMLEvent>
The
"xsi:type" attribute. Contrarily to other attributes, the name is unchanged compared
to the original attribute; instead the value is different. Even in unchanged, the QName
is specified at construction time because it is required by the parent class.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.xml.TransformedEvent
TransformedEvent.Attr, TransformedEvent.End, TransformedEvent.NS, TransformedEvent.Start, TransformedEvent.Type -
Field Summary
FieldsModifier and TypeFieldDescription(package private) NamespaceIf the value requires a new prefix to be bound, the namespace declaration for it.private final StringThe attribute value.Fields inherited from class org.apache.sis.xml.TransformedEvent
event, nameFields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.sis.xml.TransformedEvent.Attr
castOrWrap, getDTDType, getEventType, isAttribute, isSpecified, writeMethods inherited from class org.apache.sis.xml.TransformedEvent
asCharacters, asEndElement, asStartElement, getLocation, getName, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, name, toString, writeAsEncodedUnicodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
Field Details
-
value
The attribute value. -
namespace
Namespace namespaceIf the value requires a new prefix to be bound, the namespace declaration for it.
-
-
Constructor Details
-
Type
Wraps the given event with a different value.
-
-
Method Details
-
getValue
Returns the"xsi:type"attribute value.- Specified by:
getValuein interfaceAttribute- Overrides:
getValuein classTransformedEvent.Attr
-