javax.xml.stream.events.EntityDeclaration, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstantspublic class EntityDeclarationImpl extends EventBase implements javax.xml.stream.events.EntityDeclaration
_eventType, _location| Constructor | Description |
|---|---|
EntityDeclarationImpl() |
Creates a new instance of EntityDeclarationImpl
|
EntityDeclarationImpl(java.lang.String entityName,
java.lang.String replacement) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getBaseURI() |
Get the base URI for this reference
or null if this information is not available
|
java.lang.String |
getName() |
The entity's name
|
java.lang.String |
getNotationName() |
The name of the associated notation.
|
java.lang.String |
getPublicId() |
The entity's public identifier, or null if none was given
|
java.lang.String |
getReplacementText() |
The replacement text of the entity.
|
java.lang.String |
getSystemId() |
The entity's system identifier.
|
protected void |
init() |
|
void |
setBaseURI(java.lang.String baseURI) |
|
void |
setName(java.lang.String entityName) |
|
void |
setNotationName(java.lang.String notationName) |
|
void |
setPublicId(java.lang.String publicId) |
|
void |
setReplacementText(java.lang.String replacement) |
|
void |
setSystemId(java.lang.String systemId) |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, writeAsEncodedUnicodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicodepublic EntityDeclarationImpl()
public EntityDeclarationImpl(java.lang.String entityName,
java.lang.String replacement)
public java.lang.String getPublicId()
getPublicId in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getSystemId()
getSystemId in interface javax.xml.stream.events.EntityDeclarationgetSystemId in class EventBasepublic java.lang.String getName()
getName in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getNotationName()
getNotationName in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getReplacementText()
getReplacementText in interface javax.xml.stream.events.EntityDeclarationpublic java.lang.String getBaseURI()
getBaseURI in interface javax.xml.stream.events.EntityDeclarationpublic void setPublicId(java.lang.String publicId)
public void setSystemId(java.lang.String systemId)
public void setBaseURI(java.lang.String baseURI)
public void setName(java.lang.String entityName)
public void setReplacementText(java.lang.String replacement)
public void setNotationName(java.lang.String notationName)
protected void init()
Copyright © 2018 Oracle Corporation. All rights reserved.