public class ReaderXmlElement extends ReadTableEntry
brace, constituent, illegal, multipleEscape, singleEscape, whitespace| Constructor and Description |
|---|
ReaderXmlElement() |
| Modifier and Type | Method and Description |
|---|---|
static void |
namedEntity(LispReader reader,
java.lang.String name) |
static Pair |
quote(java.lang.Object obj) |
java.lang.Object |
read(Lexer in,
int ch,
int count) |
static Pair |
readContent(LispReader reader,
char delimiter,
Pair resultTail)
Parse ElementContent (delimiter == '<') or AttributeContent (otherwise).
|
static java.lang.Object |
readElementConstructor(LispReader reader,
int ch)
Parse ElementConstructor.
|
static java.lang.Object |
readQNameExpression(LispReader reader,
int ch,
boolean forElement)
Read either a QName literal or an enclosed QName-producing form.
|
getConstituentInstance, getDigitInstance, getIllegalInstance, getKind, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstancepublic java.lang.Object read(Lexer in, int ch, int count) throws java.io.IOException, SyntaxException
read in class ReadTableEntryjava.io.IOExceptionSyntaxExceptionpublic static Pair quote(java.lang.Object obj)
public static java.lang.Object readQNameExpression(LispReader reader, int ch, boolean forElement) throws java.io.IOException, SyntaxException
java.io.IOExceptionSyntaxExceptionpublic static 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.IOExceptionSyntaxExceptionpublic static Pair readContent(LispReader reader, char delimiter, Pair resultTail) throws java.io.IOException, SyntaxException
delimiter - is '<' if parsing ElementContent, is either '\'' or
'\"' if parsing AttributeContent depending on the starting quotejava.io.IOExceptionSyntaxExceptionpublic static void namedEntity(LispReader reader, java.lang.String name)