Package javanet.staxutils.events
Class EntityDeclarationEvent
java.lang.Object
javanet.staxutils.events.AbstractXMLEvent
javanet.staxutils.events.EntityDeclarationEvent
- All Implemented Interfaces:
Serializable,Cloneable,ExtendedXMLEvent,EntityDeclaration,XMLEvent,XMLStreamConstants
EntityDeclaration event implementation.- Version:
- $Revision: 1.2 $
- Author:
- Christian Niles
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe entity base URI, ornullif this isn't an external entityprotected StringThe entity name.protected StringThe optional notation name.protected StringThe public id, ornullif this isn't an external entityprotected StringThe replacement text, ornullif this isn't an internal entity.protected StringThe system id, ornullif this isn't an external entity.Fields inherited from class javanet.staxutils.events.AbstractXMLEvent
location, schemaTypeFields 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
ConstructorsConstructorDescriptionEntityDeclarationEvent(String name, String publicId, String systemId, String baseURI, String notationName, Location location) EntityDeclarationEvent(String name, String replacementText, String notationName, Location location) EntityDeclarationEvent(String name, String replacementText, Location location) -
Method Summary
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, writeEventMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode
-
Field Details
-
name
The entity name. -
replacementText
The replacement text, ornullif this isn't an internal entity. -
baseURI
The entity base URI, ornullif this isn't an external entity -
publicId
The public id, ornullif this isn't an external entity -
systemId
The system id, ornullif this isn't an external entity. -
notationName
The optional notation name.
-
-
Constructor Details
-
EntityDeclarationEvent
-
EntityDeclarationEvent
-
EntityDeclarationEvent
-
EntityDeclarationEvent
-
-
Method Details
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLEvent
-
getBaseURI
- Specified by:
getBaseURIin interfaceEntityDeclaration
-
getName
- Specified by:
getNamein interfaceEntityDeclaration
-
getNotationName
- Specified by:
getNotationNamein interfaceEntityDeclaration
-
getPublicId
- Specified by:
getPublicIdin interfaceEntityDeclaration
-
getReplacementText
- Specified by:
getReplacementTextin interfaceEntityDeclaration
-
getSystemId
- Specified by:
getSystemIdin interfaceEntityDeclaration
-