Class XMLSecEntityReferenceImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
-
- org.apache.xml.security.stax.impl.stax.XMLSecEntityReferenceImpl
-
- All Implemented Interfaces:
javax.xml.stream.events.EntityReference
,javax.xml.stream.events.XMLEvent
,javax.xml.stream.XMLStreamConstants
,XMLSecEntityReference
,XMLSecEvent
public class XMLSecEntityReferenceImpl extends XMLSecEventBaseImpl implements XMLSecEntityReference
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
XMLSecEventBaseImpl.LocationImpl
-
-
Field Summary
Fields Modifier and Type Field Description private javax.xml.stream.events.EntityDeclaration
entityDeclaration
private java.lang.String
name
-
Fields inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
parentXMLSecStartELement
-
-
Constructor Summary
Constructors Constructor Description XMLSecEntityReferenceImpl(java.lang.String name, javax.xml.stream.events.EntityDeclaration entityDeclaration, XMLSecStartElement parentXmlSecStartElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.stream.events.EntityDeclaration
getDeclaration()
int
getEventType()
java.lang.String
getName()
boolean
isEntityReference()
void
writeAsEncodedUnicode(java.io.Writer writer)
-
Methods inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, getStartElementAtLevel, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setParentXMLSecStartElement
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.stream.events.XMLEvent
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
-
Methods inherited from interface org.apache.xml.security.stax.ext.stax.XMLSecEvent
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
-
-
-
-
Constructor Detail
-
XMLSecEntityReferenceImpl
public XMLSecEntityReferenceImpl(java.lang.String name, javax.xml.stream.events.EntityDeclaration entityDeclaration, XMLSecStartElement parentXmlSecStartElement)
-
-
Method Detail
-
getDeclaration
public javax.xml.stream.events.EntityDeclaration getDeclaration()
- Specified by:
getDeclaration
in interfacejavax.xml.stream.events.EntityReference
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacejavax.xml.stream.events.EntityReference
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfacejavax.xml.stream.events.XMLEvent
-
isEntityReference
public boolean isEntityReference()
- Specified by:
isEntityReference
in interfacejavax.xml.stream.events.XMLEvent
- Overrides:
isEntityReference
in classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(java.io.Writer writer) throws javax.xml.stream.XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfacejavax.xml.stream.events.XMLEvent
- Overrides:
writeAsEncodedUnicode
in classXMLSecEventBaseImpl
- Throws:
javax.xml.stream.XMLStreamException
-
-