Package com.atlassian.confluence.xml
Class NoAutoescapeCharacters
- java.lang.Object
-
- com.atlassian.confluence.xml.NoAutoescapeCharacters
-
- All Implemented Interfaces:
Characters
,XMLEvent
,XMLStreamConstants
public class NoAutoescapeCharacters extends Object implements Characters
- Since:
- 6.2.4
-
-
Field Summary
-
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
Constructors Constructor Description NoAutoescapeCharacters(String data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Characters
asCharacters()
EndElement
asEndElement()
StartElement
asStartElement()
String
getData()
int
getEventType()
Location
getLocation()
QName
getSchemaType()
boolean
isAttribute()
boolean
isCData()
boolean
isCharacters()
boolean
isEndDocument()
boolean
isEndElement()
boolean
isEntityReference()
boolean
isIgnorableWhiteSpace()
boolean
isNamespace()
boolean
isProcessingInstruction()
boolean
isStartDocument()
boolean
isStartElement()
boolean
isWhiteSpace()
void
writeAsEncodedUnicode(Writer writer)
-
-
-
Constructor Detail
-
NoAutoescapeCharacters
public NoAutoescapeCharacters(String data)
-
-
Method Detail
-
getData
public String getData()
- Specified by:
getData
in interfaceCharacters
-
isWhiteSpace
public boolean isWhiteSpace()
- Specified by:
isWhiteSpace
in interfaceCharacters
-
isCData
public boolean isCData()
- Specified by:
isCData
in interfaceCharacters
-
isIgnorableWhiteSpace
public boolean isIgnorableWhiteSpace()
- Specified by:
isIgnorableWhiteSpace
in interfaceCharacters
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfaceXMLEvent
-
getLocation
public Location getLocation()
- Specified by:
getLocation
in interfaceXMLEvent
-
isStartElement
public boolean isStartElement()
- Specified by:
isStartElement
in interfaceXMLEvent
-
isAttribute
public boolean isAttribute()
- Specified by:
isAttribute
in interfaceXMLEvent
-
isNamespace
public boolean isNamespace()
- Specified by:
isNamespace
in interfaceXMLEvent
-
isEndElement
public boolean isEndElement()
- Specified by:
isEndElement
in interfaceXMLEvent
-
isEntityReference
public boolean isEntityReference()
- Specified by:
isEntityReference
in interfaceXMLEvent
-
isProcessingInstruction
public boolean isProcessingInstruction()
- Specified by:
isProcessingInstruction
in interfaceXMLEvent
-
isCharacters
public boolean isCharacters()
- Specified by:
isCharacters
in interfaceXMLEvent
-
isStartDocument
public boolean isStartDocument()
- Specified by:
isStartDocument
in interfaceXMLEvent
-
isEndDocument
public boolean isEndDocument()
- Specified by:
isEndDocument
in interfaceXMLEvent
-
asStartElement
public StartElement asStartElement()
- Specified by:
asStartElement
in interfaceXMLEvent
-
asEndElement
public EndElement asEndElement()
- Specified by:
asEndElement
in interfaceXMLEvent
-
asCharacters
public Characters asCharacters()
- Specified by:
asCharacters
in interfaceXMLEvent
-
getSchemaType
public QName getSchemaType()
- Specified by:
getSchemaType
in interfaceXMLEvent
-
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Throws:
XMLStreamException
-
-