com.ctc.wstx.ent
Class UnparsedExtEntity
java.lang.Object
com.ctc.wstx.evt.WEvent
com.ctc.wstx.evt.WEntityDeclaration
com.ctc.wstx.ent.EntityDecl
com.ctc.wstx.ent.ExtEntity
com.ctc.wstx.ent.UnparsedExtEntity
- All Implemented Interfaces:
- javax.xml.stream.events.EntityDeclaration, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants, XMLEvent2
public class UnparsedExtEntity
- extends ExtEntity
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 |
UnparsedExtEntity(javax.xml.stream.Location loc,
java.lang.String name,
java.net.URL ctxt,
java.lang.String pubId,
java.lang.String sysId,
java.lang.String notationId)
|
Methods inherited from class com.ctc.wstx.evt.WEvent |
asCharacters, asEndElement, asStartElement, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, throwFromIOE, toString |
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, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
UnparsedExtEntity
public UnparsedExtEntity(javax.xml.stream.Location loc,
java.lang.String name,
java.net.URL ctxt,
java.lang.String pubId,
java.lang.String sysId,
java.lang.String notationId)
getNotationName
public java.lang.String getNotationName()
- Specified by:
getNotationName
in interface javax.xml.stream.events.EntityDeclaration
- Specified by:
getNotationName
in class ExtEntity
writeEnc
public void writeEnc(java.io.Writer w)
throws java.io.IOException
- Specified by:
writeEnc
in class ExtEntity
- Throws:
java.io.IOException
isParsed
public boolean isParsed()
- Specified by:
isParsed
in class ExtEntity
expand
public WstxInputSource expand(WstxInputSource parent,
javax.xml.stream.XMLResolver res,
ReaderConfig cfg,
int xmlVersion)
- Description copied from class:
EntityDecl
- Method called to create the new input source through which expansion
value of the entity can be read.
- Specified by:
expand
in class ExtEntity