Class XMLSecDTDImpl
- java.lang.Object
-
- org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
-
- org.apache.xml.security.stax.impl.stax.XMLSecDTDImpl
-
- All Implemented Interfaces:
DTD
,XMLEvent
,XMLStreamConstants
,XMLSecDTD
,XMLSecEvent
public class XMLSecDTDImpl extends XMLSecEventBaseImpl implements XMLSecDTD
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
parentXMLSecStartELement
-
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 Constructor Description XMLSecDTDImpl(String dtd, XMLSecStartElement parentXmlSecStartElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDocumentTypeDeclaration()
List
getEntities()
int
getEventType()
List
getNotations()
Object
getProcessedDTD()
void
writeAsEncodedUnicode(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, isEntityReference, 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, isEntityReference, 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
-
XMLSecDTDImpl
public XMLSecDTDImpl(String dtd, XMLSecStartElement parentXmlSecStartElement)
-
-
Method Detail
-
getDocumentTypeDeclaration
public String getDocumentTypeDeclaration()
- Specified by:
getDocumentTypeDeclaration
in interfaceDTD
-
getProcessedDTD
public Object getProcessedDTD()
- Specified by:
getProcessedDTD
in interfaceDTD
-
getNotations
public List getNotations()
- Specified by:
getNotations
in interfaceDTD
-
getEntities
public List getEntities()
- Specified by:
getEntities
in interfaceDTD
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfaceXMLEvent
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Overrides:
writeAsEncodedUnicode
in classXMLSecEventBaseImpl
- Throws:
XMLStreamException
-
-