Class ExtEntity
java.lang.Object
org.codehaus.stax2.ri.evt.BaseEventImpl
com.ctc.wstx.evt.WEntityDeclaration
com.ctc.wstx.ent.EntityDecl
com.ctc.wstx.ent.ExtEntity
- All Implemented Interfaces:
EntityDeclaration, XMLEvent, XMLStreamConstants, org.codehaus.stax2.evt.XMLEvent2
- Direct Known Subclasses:
ParsedExtEntity, UnparsedExtEntity
-
Field Summary
FieldsFields inherited from class EntityDecl
mContext, mDeclaredExternally, mNameFields inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl
mLocationFields inherited from interface 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 -
Method Summary
Modifier and TypeMethodDescriptionabstract WstxInputSourceexpand(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.abstract Stringchar[]intbooleanabstract booleanisParsed()abstract voidMethods inherited from class EntityDecl
getBaseURI, getName, getReplacementTextLength, markAsExternallyDeclared, wasDeclaredExternallyMethods inherited from class WEntityDeclaration
equals, getEventType, hashCode, writeAsEncodedUnicode, writeUsingMethods 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, toStringMethods inherited from interface XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
-
Field Details
-
mPublicId
-
mSystemId
-
-
Constructor Details
-
ExtEntity
-
-
Method Details
-
getNotationName
- Specified by:
getNotationNamein interfaceEntityDeclaration- Specified by:
getNotationNamein classEntityDecl
-
getPublicId
- Specified by:
getPublicIdin interfaceEntityDeclaration- Specified by:
getPublicIdin classEntityDecl
-
getReplacementText
- Specified by:
getReplacementTextin interfaceEntityDeclaration- Specified by:
getReplacementTextin classEntityDecl
-
getReplacementText
- Specified by:
getReplacementTextin classEntityDecl
-
getSystemId
- Specified by:
getSystemIdin interfaceEntityDeclaration- Specified by:
getSystemIdin classEntityDecl
-
writeEnc
- Specified by:
writeEncin classEntityDecl- Throws:
IOException
-
getReplacementChars
public char[] getReplacementChars()- Specified by:
getReplacementCharsin classEntityDecl
-
isExternal
public boolean isExternal()- Specified by:
isExternalin classEntityDecl
-
isParsed
public abstract boolean isParsed()- Specified by:
isParsedin classEntityDecl
-
expand
public abstract WstxInputSource expand(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion) throws IOException, XMLStreamException Description copied from class:EntityDeclMethod called to create the new input source through which expansion value of the entity can be read.- Specified by:
expandin classEntityDecl- Throws:
IOExceptionXMLStreamException
-