public class ReaderXmlElement extends ReaderExtendedLiteral
| Modifier and Type | Field and Description |
|---|---|
static Symbol |
defaultElementNamespaceSymbol |
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, wrapTextgetKindgetConstituentInstance, getDigitInstance, getIllegalInstance, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance, readpublic static final Symbol defaultElementNamespaceSymbol
public java.lang.Object read(Lexer in, int ch, int count) throws java.io.IOException, SyntaxException
read in class ReaderExtendedLiteraljava.io.IOExceptionSyntaxExceptionpublic 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.IOExceptionSyntaxExceptionpublic 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.IOExceptionSyntaxExceptionprotected java.lang.Object checkDelim(LispReader reader, int next, int delimiter) throws java.io.IOException, SyntaxException
checkDelim in class ReaderExtendedLiteraljava.io.IOExceptionSyntaxExceptionprotected boolean isNestableStartDelim(int next)
isNestableStartDelim in class ReaderExtendedLiteralprotected boolean isNestableEndDelim(int next)
isNestableEndDelim in class ReaderExtendedLiteralpublic static int skipSpace(LispReader reader, int ch) throws java.io.IOException, SyntaxException
java.io.IOExceptionSyntaxExceptionprotected int enclosedExprDelim(int ch,
LispReader reader)
enclosedExprDelim in class ReaderExtendedLiteral