public class EntityDeclarationImpl extends EventBase implements javax.xml.stream.events.EntityDeclaration
_eventType, _locationATTRIBUTE, 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, 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 String getPublicId()
getPublicId in interface javax.xml.stream.events.EntityDeclarationpublic String getSystemId()
getSystemId in interface javax.xml.stream.events.EntityDeclarationgetSystemId in class EventBasepublic String getName()
getName in interface javax.xml.stream.events.EntityDeclarationpublic String getNotationName()
getNotationName in interface javax.xml.stream.events.EntityDeclarationpublic String getReplacementText()
getReplacementText in interface javax.xml.stream.events.EntityDeclarationpublic String getBaseURI()
getBaseURI in interface javax.xml.stream.events.EntityDeclarationpublic 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 © 2012 Oracle Corpration. All Rights Reserved.