Class XMLSecEntityReferenceImpl
java.lang.Object
org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
org.apache.xml.security.stax.impl.stax.XMLSecEntityReferenceImpl
- All Implemented Interfaces:
EntityReference, XMLEvent, XMLStreamConstants, XMLSecEntityReference, XMLSecEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class XMLSecEventBaseImpl
XMLSecEventBaseImpl.LocationImpl -
Field Summary
FieldsFields inherited from class XMLSecEventBaseImpl
parentXMLSecStartELementFields inherited from interface 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
ConstructorsConstructorDescriptionXMLSecEntityReferenceImpl(String name, EntityDeclaration entityDeclaration, XMLSecStartElement parentXmlSecStartElement) -
Method Summary
Modifier and TypeMethodDescriptionintgetName()booleanvoidwriteAsEncodedUnicode(Writer writer) Methods inherited from class XMLSecEventBaseImpl
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, getStartElementAtLevel, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setParentXMLSecStartElementMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XMLEvent
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElementMethods inherited from interface XMLSecEvent
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
-
Field Details
-
name
-
entityDeclaration
-
-
Constructor Details
-
XMLSecEntityReferenceImpl
public XMLSecEntityReferenceImpl(String name, EntityDeclaration entityDeclaration, XMLSecStartElement parentXmlSecStartElement)
-
-
Method Details
-
getDeclaration
- Specified by:
getDeclarationin interfaceEntityReference
-
getName
- Specified by:
getNamein interfaceEntityReference
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLEvent
-
isEntityReference
public boolean isEntityReference()- Specified by:
isEntityReferencein interfaceXMLEvent- Overrides:
isEntityReferencein classXMLSecEventBaseImpl
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Overrides:
writeAsEncodedUnicodein classXMLSecEventBaseImpl- Throws:
XMLStreamException
-