|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.stax2.ri.evt.BaseEventImpl
org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
com.ctc.wstx.evt.WEntityReference
public class WEntityReference
We need a slightly specialized version to support concept of undeclared entities, which can be used in (non-default, non-standard) mode where undeclared entities are allowed to be handled.
Field Summary |
---|
Fields inherited from class org.codehaus.stax2.ri.evt.EntityReferenceEventImpl |
---|
mDecl |
Fields inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl |
---|
mLocation |
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 | |
---|---|
WEntityReference(Location loc,
EntityDeclaration decl)
|
|
WEntityReference(Location loc,
String name)
This constructor gets called for undeclared/defined entities: we will still know the name (from the reference), but not how it's defined (since it is not defined). |
Method Summary | |
---|---|
String |
getName()
|
Methods inherited from class org.codehaus.stax2.ri.evt.EntityReferenceEventImpl |
---|
equals, getDeclaration, getEventType, hashCode, isEntityReference, writeAsEncodedUnicode, writeUsing |
Methods inherited from class org.codehaus.stax2.ri.evt.BaseEventImpl |
---|
addHash, asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, iteratedEquals, stringsWithNullsEqual, throwFromIOE, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.xml.stream.events.EntityReference |
---|
getDeclaration |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
---|
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
Constructor Detail |
---|
public WEntityReference(Location loc, EntityDeclaration decl)
public WEntityReference(Location loc, String name)
Method Detail |
---|
public String getName()
getName
in interface EntityReference
getName
in class org.codehaus.stax2.ri.evt.EntityReferenceEventImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |