public class EntityDeclarationImpl extends EventBase implements javax.xml.stream.events.EntityDeclaration
_eventType, _location
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
EntityDeclarationImpl()
Creates a new instance of EntityDeclarationImpl
|
EntityDeclarationImpl(String entityName,
String replacement) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseURI()
Get the base URI for this reference
or null if this information is not available
|
String |
getName()
The entity's name
|
String |
getNotationName()
The name of the associated notation.
|
String |
getPublicId()
The entity's public identifier, or null if none was given
|
String |
getReplacementText()
The replacement text of the entity.
|
String |
getSystemId()
The entity's system identifier.
|
protected void |
init() |
void |
setBaseURI(String baseURI) |
void |
setName(String entityName) |
void |
setNotationName(String notationName) |
void |
setPublicId(String publicId) |
void |
setReplacementText(String replacement) |
void |
setSystemId(String systemId) |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setEventType, setLocation, writeAsEncodedUnicode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
public EntityDeclarationImpl()
public String getPublicId()
getPublicId
in interface javax.xml.stream.events.EntityDeclaration
public String getSystemId()
getSystemId
in interface javax.xml.stream.events.EntityDeclaration
getSystemId
in class EventBase
public String getName()
getName
in interface javax.xml.stream.events.EntityDeclaration
public String getNotationName()
getNotationName
in interface javax.xml.stream.events.EntityDeclaration
public String getReplacementText()
getReplacementText
in interface javax.xml.stream.events.EntityDeclaration
public String getBaseURI()
getBaseURI
in interface javax.xml.stream.events.EntityDeclaration
public void setPublicId(String publicId)
public void setSystemId(String systemId)
public void setBaseURI(String baseURI)
public void setName(String entityName)
public void setReplacementText(String replacement)
public void setNotationName(String notationName)
protected void init()
Copyright © 2021 Oracle Corpration. All rights reserved.