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, getWhitespaceInstance
public java.lang.Object read(Lexer in, int ch, int count) throws java.io.IOException, SyntaxException
read
in class ReadTableEntry
java.io.IOException
SyntaxException
public 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.IOException
SyntaxException
public 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.IOException
SyntaxException
public 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.IOException
SyntaxException
public static void namedEntity(LispReader reader, java.lang.String name)