com.ctc.wstx.ent
Class EntityDecl
java.lang.Object
com.ctc.wstx.ent.EntityDecl
- Direct Known Subclasses:
- ExtEntity, IntEntity
- public abstract class EntityDecl
- extends java.lang.Object
Abstract base class for various entity declarations DTD reader
has parsed from DTD subsets.
|
Constructor Summary |
EntityDecl(javax.xml.stream.Location loc,
java.lang.String name,
java.net.URL ctxt)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityDecl
public EntityDecl(javax.xml.stream.Location loc,
java.lang.String name,
java.net.URL ctxt)
getBaseURI
public final java.lang.String getBaseURI()
getName
public final java.lang.String getName()
getLocation
public final javax.xml.stream.Location getLocation()
getNotationName
public abstract java.lang.String getNotationName()
getPublicId
public abstract java.lang.String getPublicId()
getReplacementText
public abstract java.lang.String getReplacementText()
getReplacementText
public abstract int getReplacementText(java.io.Writer w)
throws java.io.IOException
- Throws:
java.io.IOException
getSystemId
public abstract java.lang.String getSystemId()
writeEnc
public abstract void writeEnc(java.io.Writer w)
throws java.io.IOException
- Throws:
java.io.IOException
getSource
public final java.net.URL getSource()
getReplacementChars
public abstract char[] getReplacementChars()
getReplacementTextLength
public final int getReplacementTextLength()
isExternal
public abstract boolean isExternal()
isParsed
public abstract boolean isParsed()
expand
public abstract WstxInputSource expand(WstxInputSource parent,
javax.xml.stream.XMLResolver res,
javax.xml.stream.XMLReporter rep)
throws java.io.IOException,
javax.xml.stream.XMLStreamException
- Method called to create the new input source through which expansion
value of the entity can be read.
- Throws:
java.io.IOException
javax.xml.stream.XMLStreamException