|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavanet.staxutils.events.AbstractXMLEvent
javanet.staxutils.events.EntityDeclarationEvent
public class EntityDeclarationEvent
EntityDeclaration
event implementation.
Field Summary | |
---|---|
protected String |
baseURI
The entity base URI, or null if this isn't an external entity |
protected String |
name
The entity name. |
protected String |
notationName
The optional notation name. |
protected String |
publicId
The public id, or null if this isn't an external entity |
protected String |
replacementText
The replacement text, or null if this isn't an internal entity. |
protected String |
systemId
The system id, or null if this isn't an external entity. |
Fields inherited from class javanet.staxutils.events.AbstractXMLEvent |
---|
location, schemaType |
Fields inherited from interface javax.xml.stream.XMLStreamConstants |
---|
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
Constructor Summary | |
---|---|
EntityDeclarationEvent(EntityDeclaration that)
|
|
EntityDeclarationEvent(String name,
String replacementText,
Location location)
|
|
EntityDeclarationEvent(String name,
String replacementText,
String notationName,
Location location)
|
|
EntityDeclarationEvent(String name,
String publicId,
String systemId,
String baseURI,
String notationName,
Location location)
|
Method Summary | |
---|---|
String |
getBaseURI()
|
int |
getEventType()
Returns XMLStreamConstants.ENTITY_DECLARATION . |
String |
getName()
|
String |
getNotationName()
|
String |
getPublicId()
|
String |
getReplacementText()
|
String |
getSystemId()
|
Methods inherited from class javanet.staxutils.events.AbstractXMLEvent |
---|
asCharacters, asEndElement, asStartElement, clone, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, matches, toString, writeAsEncodedUnicode, writeEvent |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
---|
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
Field Detail |
---|
protected String name
protected String replacementText
null
if this isn't an internal entity.
protected String baseURI
null
if this isn't an external entity
protected String publicId
null
if this isn't an external entity
protected String systemId
null
if this isn't an external entity.
protected String notationName
Constructor Detail |
---|
public EntityDeclarationEvent(String name, String replacementText, Location location)
public EntityDeclarationEvent(String name, String replacementText, String notationName, Location location)
public EntityDeclarationEvent(String name, String publicId, String systemId, String baseURI, String notationName, Location location)
public EntityDeclarationEvent(EntityDeclaration that)
Method Detail |
---|
public int getEventType()
XMLStreamConstants.ENTITY_DECLARATION
.
getEventType
in interface XMLEvent
public String getBaseURI()
getBaseURI
in interface EntityDeclaration
public String getName()
getName
in interface EntityDeclaration
public String getNotationName()
getNotationName
in interface EntityDeclaration
public String getPublicId()
getPublicId
in interface EntityDeclaration
public String getReplacementText()
getReplacementText
in interface EntityDeclaration
public String getSystemId()
getSystemId
in interface EntityDeclaration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |