| Modifier and Type | Field and Description |
|---|---|
| pack-priv final URL | mContext
Context that is to be used to resolve references encountered from expanded contents of this entity. |
| protected boolean | mDeclaredExternally
Flag that can be set to indicate that the declaration was in the external DTD subset. |
| pack-priv final String | mName
Name/id of the entity used to reference it. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract 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. |
| public final String | getBaseURI()
Implements abstract com. Implements javax. Get the base URI for this reference or null if this information is not available |
| public final String | getName()
Implements abstract com. Implements javax. The entity's name |
| public abstract String | getNotationName()
Redeclares javax. Implements abstract com. The name of the associated notation. |
| public abstract String | getPublicId()
Redeclares javax. Implements abstract com. The entity's public identifier, or null if none was given |
| public abstract char[] | |
| public abstract String | getReplacementText()
Redeclares javax. Implements abstract com. The replacement text of the entity. |
| public abstract int | |
| public final int | |
| public abstract String | getSystemId()
Redeclares javax. Implements abstract com. The entity's system identifier. |
| public abstract boolean | |
| public abstract boolean | |
| public void | |
| public boolean | Returns: True, if the declaration occured in the external DTD subset; false if not (internal subset, custom declaration)
|
| public abstract void |
| mContext | back to summary |
|---|---|
| pack-priv final URL mContext Context that is to be used to resolve references encountered from expanded contents of this entity. | |
| mDeclaredExternally | back to summary |
|---|---|
| protected boolean mDeclaredExternally Flag that can be set to indicate that the declaration was in the external DTD subset. Default is false. | |
| mName | back to summary |
|---|---|
| pack-priv final String mName Name/id of the entity used to reference it. | |
| EntityDecl | back to summary |
|---|---|
| public EntityDecl(Location loc, String name, URL ctxt) | |
| expand | back to summary |
|---|---|
| public abstract WstxInputSource expand(WstxInputSource parent, XMLResolver res, ReaderConfig cfg, int xmlVersion) throws IOException, XMLStreamException Method called to create the new input source through which expansion value of the entity can be read. | |
| getBaseURI | back to summary |
|---|---|
| public final String getBaseURI() Implements abstract com. Implements javax. Doc from javax. Get the base URI for this reference or null if this information is not available | |
| getName | back to summary |
|---|---|
| public final String getName() Implements abstract com. Implements javax. Doc from javax. The entity's name | |
| getNotationName | back to summary |
|---|---|
| public abstract String getNotationName() Redeclares javax. Implements abstract com. Doc from javax. The name of the associated notation. | |
| getPublicId | back to summary |
|---|---|
| public abstract String getPublicId() Redeclares javax. Implements abstract com. Doc from javax. The entity's public identifier, or null if none was given | |
| getReplacementChars | back to summary |
|---|---|
| public abstract char[] getReplacementChars() | |
| getReplacementText | back to summary |
|---|---|
| public abstract String getReplacementText() Redeclares javax. Implements abstract com. Doc from javax. The replacement text of the entity. This method will only return non-null if this is an internal entity. | |
| getReplacementText | back to summary |
|---|---|
| public abstract int getReplacementText(Writer w) throws IOException | |
| getReplacementTextLength | back to summary |
|---|---|
| public final int getReplacementTextLength() | |
| getSystemId | back to summary |
|---|---|
| public abstract String getSystemId() Redeclares javax. Implements abstract com. Doc from javax. The entity's system identifier. | |
| isExternal | back to summary |
|---|---|
| public abstract boolean isExternal() | |
| isParsed | back to summary |
|---|---|
| public abstract boolean isParsed() | |
| markAsExternallyDeclared | back to summary |
|---|---|
| public void markAsExternallyDeclared() | |
| wasDeclaredExternally | back to summary |
|---|---|
public boolean wasDeclaredExternally()
| |
| writeEnc | back to summary |
|---|---|
| public abstract void writeEnc(Writer w) throws IOException Implements abstract com.
| |