Package gnu.kawa.lispexpr
Class ReaderXmlElement
java.lang.Object
gnu.kawa.lispexpr.ReadTableEntry
gnu.kawa.lispexpr.ReaderMisc
gnu.kawa.lispexpr.ReaderConstituent
gnu.kawa.lispexpr.ReaderExtendedLiteral
gnu.kawa.lispexpr.ReaderXmlElement
-
Field Summary
FieldsFields inherited from class gnu.kawa.lispexpr.ReaderExtendedLiteral
escapeCharFields inherited from class gnu.kawa.lispexpr.ReadTableEntry
ampersand, brace, constituent, illegal, multipleEscape, singleEscape, whitespace -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectcheckDelim(LispReader reader, int next, int delimiter) protected intenclosedExprDelim(int ch, LispReader reader) protected booleanisNestableEndDelim(int next) protected booleanisNestableStartDelim(int next) static PairreadElementConstructor(LispReader reader, int ch) Parse ElementConstructor.readQNameExpression(LispReader reader, int ch, boolean forElement) Read either a QName literal or an enclosed QName-producing form.static intskipSpace(LispReader reader, int ch) Methods inherited from class gnu.kawa.lispexpr.ReaderExtendedLiteral
readContent, readEnclosed, readEnclosedExpressions, readEnclosedSingleExpression, readNamedLiteral, wrapTextMethods inherited from class gnu.kawa.lispexpr.ReaderMisc
getKindMethods inherited from class gnu.kawa.lispexpr.ReadTableEntry
getConstituentInstance, getDigitInstance, getIllegalInstance, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance, read
-
Field Details
-
defaultElementNamespaceSymbol
-
-
Constructor Details
-
ReaderXmlElement
public ReaderXmlElement()
-
-
Method Details
-
read
- Overrides:
readin classReaderExtendedLiteral- Throws:
IOExceptionSyntaxException
-
quote
-
readQNameExpression
public Object readQNameExpression(LispReader reader, int ch, boolean forElement) throws IOException, SyntaxException Read either a QName literal or an enclosed QName-producing form. If literal, returns a quoted symbol, and the source literal in the non-empty token-buffer. If non-literal, tokenBufferLength is set to 0.- Throws:
IOExceptionSyntaxException
-
readElementConstructor
Parse ElementConstructor. Assume initial'<'has been processed, and we're read the next character. Reads through end of the end tag.- Throws:
IOExceptionSyntaxException
-
checkDelim
protected Object checkDelim(LispReader reader, int next, int delimiter) throws IOException, SyntaxException - Overrides:
checkDelimin classReaderExtendedLiteral- Throws:
IOExceptionSyntaxException
-
isNestableStartDelim
protected boolean isNestableStartDelim(int next) - Overrides:
isNestableStartDelimin classReaderExtendedLiteral
-
isNestableEndDelim
protected boolean isNestableEndDelim(int next) - Overrides:
isNestableEndDelimin classReaderExtendedLiteral
-
skipSpace
- Throws:
IOExceptionSyntaxException
-
enclosedExprDelim
- Overrides:
enclosedExprDelimin classReaderExtendedLiteral
-