Package com.ctc.wstx.ent
Class ParsedExtEntity
- java.lang.Object
-
- org.codehaus.stax2.ri.evt.BaseEventImpl
-
- com.ctc.wstx.evt.WEntityDeclaration
-
- com.ctc.wstx.ent.EntityDecl
-
- com.ctc.wstx.ent.ExtEntity
-
- com.ctc.wstx.ent.ParsedExtEntity
-
- All Implemented Interfaces:
javax.xml.stream.events.EntityDeclaration
,javax.xml.stream.events.XMLEvent
,javax.xml.stream.XMLStreamConstants
,org.codehaus.stax2.evt.XMLEvent2
public class ParsedExtEntity extends ExtEntity
-
-
Field Summary
-
Fields inherited from class com.ctc.wstx.ent.EntityDecl
mContext, mDeclaredExternally, mName
-
-
Constructor Summary
Constructors Constructor Description ParsedExtEntity(javax.xml.stream.Location loc, java.lang.String name, java.net.URL ctxt, java.lang.String pubId, java.lang.String sysId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WstxInputSource
expand(WstxInputSource parent, javax.xml.stream.XMLResolver res, ReaderConfig cfg, int xmlVersion)
Method called to create the new input source through which expansion value of the entity can be read.java.lang.String
getNotationName()
boolean
isParsed()
void
writeEnc(java.io.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, 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, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString
-
-
-
-
Method Detail
-
getNotationName
public java.lang.String getNotationName()
- Specified by:
getNotationName
in interfacejavax.xml.stream.events.EntityDeclaration
- Specified by:
getNotationName
in classExtEntity
-
writeEnc
public void writeEnc(java.io.Writer w) throws java.io.IOException
-
expand
public WstxInputSource expand(WstxInputSource parent, javax.xml.stream.XMLResolver res, ReaderConfig cfg, int xmlVersion) throws java.io.IOException, javax.xml.stream.XMLStreamException
Description copied from class:EntityDecl
Method called to create the new input source through which expansion value of the entity can be read.
-
-