EntityReference
, XMLEvent
, XMLStreamConstants
, XMLSecEntityReference
, XMLSecEvent
public class XMLSecEntityReferenceImpl extends XMLSecEventBaseImpl implements XMLSecEntityReference
parentXMLSecStartELement
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor | Description |
---|---|
XMLSecEntityReferenceImpl(String name,
EntityDeclaration entityDeclaration,
XMLSecStartElement parentXmlSecStartElement) |
Modifier and Type | Method | Description |
---|---|---|
EntityDeclaration |
getDeclaration() |
|
int |
getEventType() |
|
String |
getName() |
|
boolean |
isEntityReference() |
|
void |
writeAsEncodedUnicode(Writer writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getParentXMLSecStartElement, getStartElementAtLevel, setParentXMLSecStartElement
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, getStartElementAtLevel, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setParentXMLSecStartElement
public XMLSecEntityReferenceImpl(String name, EntityDeclaration entityDeclaration, XMLSecStartElement parentXmlSecStartElement)
public EntityDeclaration getDeclaration()
getDeclaration
in interface EntityReference
public String getName()
getName
in interface EntityReference
public int getEventType()
getEventType
in interface XMLEvent
public boolean isEntityReference()
isEntityReference
in interface XMLEvent
isEntityReference
in class XMLSecEventBaseImpl
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
writeAsEncodedUnicode
in interface XMLEvent
writeAsEncodedUnicode
in class XMLSecEventBaseImpl
XMLStreamException
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.