public class ReaderXmlElement extends ReaderExtendedLiteral
Modifier and Type | Field and Description |
---|---|
static Symbol |
defaultElementNamespaceSymbol |
escapeChar
ampersand, brace, constituent, illegal, multipleEscape, singleEscape, whitespace
Constructor and Description |
---|
ReaderXmlElement() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
checkDelim(LispReader reader,
int next,
int delimiter) |
protected int |
enclosedExprDelim(int ch,
LispReader reader) |
protected boolean |
isNestableEndDelim(int next) |
protected boolean |
isNestableStartDelim(int next) |
static Pair |
quote(java.lang.Object obj) |
java.lang.Object |
read(Lexer in,
int ch,
int count) |
java.lang.Object |
readElementConstructor(LispReader reader,
int ch)
Parse ElementConstructor.
|
java.lang.Object |
readQNameExpression(LispReader reader,
int ch,
boolean forElement)
Read either a QName literal or an enclosed QName-producing form.
|
static int |
skipSpace(LispReader reader,
int ch) |
readContent, readEnclosed, readEnclosedExpressions, readEnclosedSingleExpression, readNamedLiteral, wrapText
getKind
getConstituentInstance, getDigitInstance, getIllegalInstance, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance, read
public static final Symbol defaultElementNamespaceSymbol
public java.lang.Object read(Lexer in, int ch, int count) throws java.io.IOException, SyntaxException
read
in class ReaderExtendedLiteral
java.io.IOException
SyntaxException
public static Pair quote(java.lang.Object obj)
public java.lang.Object readQNameExpression(LispReader reader, int ch, boolean forElement) throws java.io.IOException, SyntaxException
java.io.IOException
SyntaxException
public java.lang.Object readElementConstructor(LispReader reader, int ch) throws java.io.IOException, SyntaxException
'<'
has been processed,
and we're read the next character.
Reads through end of the end tag.java.io.IOException
SyntaxException
protected java.lang.Object checkDelim(LispReader reader, int next, int delimiter) throws java.io.IOException, SyntaxException
checkDelim
in class ReaderExtendedLiteral
java.io.IOException
SyntaxException
protected boolean isNestableStartDelim(int next)
isNestableStartDelim
in class ReaderExtendedLiteral
protected boolean isNestableEndDelim(int next)
isNestableEndDelim
in class ReaderExtendedLiteral
public static int skipSpace(LispReader reader, int ch) throws java.io.IOException, SyntaxException
java.io.IOException
SyntaxException
protected int enclosedExprDelim(int ch, LispReader reader)
enclosedExprDelim
in class ReaderExtendedLiteral