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) Namespace
If the value requires a new prefix to be bound, the namespace declaration for it.private final String
The attribute value.Fields inherited from class org.apache.sis.xml.TransformedEvent
event, name
Fields 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, write
Methods inherited from class org.apache.sis.xml.TransformedEvent
asCharacters, asEndElement, asStartElement, getLocation, getName, getSchemaType, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, name, toString, writeAsEncodedUnicode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getValue
in interfaceAttribute
- Overrides:
getValue
in classTransformedEvent.Attr
-