com.ctc.wstx.ent
Class UnparsedExtEntity

java.lang.Object
  extended by org.codehaus.stax2.ri.evt.BaseEventImpl
      extended by com.ctc.wstx.evt.WEntityDeclaration
          extended by com.ctc.wstx.ent.EntityDecl
              extended by com.ctc.wstx.ent.ExtEntity
                  extended by com.ctc.wstx.ent.UnparsedExtEntity
All Implemented Interfaces:
EntityDeclaration, XMLEvent, XMLStreamConstants, org.codehaus.stax2.evt.XMLEvent2

public class UnparsedExtEntity
extends ExtEntity


Field Summary
 
Fields inherited from class com.ctc.wstx.ent.EntityDecl
mDeclaredExternally
 
Fields inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl
mLocation
 
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(Location loc, String name, URL ctxt, String pubId, String sysId, String notationId)
           
 
Method Summary
 WstxInputSource expand(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion)
          Method called to create the new input source through which expansion value of the entity can be read.
 String getNotationName()
           
 boolean isParsed()
           
 void writeEnc(Writer w)
           
 
Methods inherited from class com.ctc.wstx.ent.ExtEntity
getPublicId, getReplacementChars, getReplacementText, getReplacementText, getSystemId, isExternal
 
Methods inherited from class com.ctc.wstx.ent.EntityDecl
getBaseURI, getLocation, getName, getReplacementTextLength, markAsExternallyDeclared, wasDeclaredExternally
 
Methods inherited from class com.ctc.wstx.evt.WEntityDeclaration
equals, getEventType, hashCode, writeAsEncodedUnicode, writeUsing
 
Methods inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl
addHash, asCharacters, asEndElement, asStartElement, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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
 

Constructor Detail

UnparsedExtEntity

public UnparsedExtEntity(Location loc,
                         String name,
                         URL ctxt,
                         String pubId,
                         String sysId,
                         String notationId)
Method Detail

getNotationName

public String getNotationName()
Specified by:
getNotationName in interface EntityDeclaration
Specified by:
getNotationName in class ExtEntity

writeEnc

public void writeEnc(Writer w)
              throws IOException
Specified by:
writeEnc in class ExtEntity
Throws:
IOException

isParsed

public boolean isParsed()
Specified by:
isParsed in class ExtEntity

expand

public WstxInputSource expand(WstxInputSource parent,
                              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


Copyright © 2011 Codehaus. All Rights Reserved.