java.lang.Object
org.postgresql.pljava.internal.SyntheticXMLReader
org.postgresql.pljava.internal.ByteBufferXMLReader
org.postgresql.pljava.internal.VarlenaXMLRenderer
org.postgresql.pljava.jdbc.PgNodeTreeAsXML
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Datum
,DatumImpl
,XMLReader
An adapter presenting PostgreSQL's
pg_node_tree
type (a serialized
representation of a tree data structure) through the XML API (in, currently,
an ad-hoc, schemaless rendering, but one with which some practical use might
be made of the information, after a little study).-
Nested Class Summary
Nested classes/interfaces inherited from class org.postgresql.pljava.internal.SyntheticXMLReader
SyntheticXMLReader.ApacheFeature, SyntheticXMLReader.EmptyAttributes2, SyntheticXMLReader.EventCarrier, SyntheticXMLReader.FluentAttributes2, SyntheticXMLReader.SAX2FEATURE, SyntheticXMLReader.SAX2PROPERTY
Nested classes/interfaces inherited from interface org.postgresql.pljava.adt.spi.Datum
Datum.Accessor<B,
L extends Datum.Layout>, Datum.Layout Nested classes/interfaces inherited from interface org.postgresql.pljava.pg.DatumImpl
DatumImpl.Input, DatumImpl.IStream<T extends DatumImpl.Input>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class org.postgresql.pljava.internal.VarlenaXMLRenderer
m_decoder
Fields inherited from class org.postgresql.pljava.internal.SyntheticXMLReader
m_attributes, NO_ATTRIBUTES
-
Method Summary
Modifier and TypeMethodDescriptionprotected SyntheticXMLReader.EventCarrier
next
(ByteBuffer buf) Return null if no more events available, or anEventCarrier
that carries one or more.Methods inherited from class org.postgresql.pljava.internal.VarlenaXMLRenderer
adopt, buffer, close, pin, toString, toString, unpin
Methods inherited from class org.postgresql.pljava.internal.ByteBufferXMLReader
next, parse
Methods inherited from class org.postgresql.pljava.internal.SyntheticXMLReader
exceptionCarrier, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty, sourceToReader, sysIdToInputStream, sysIdToReader
-
Field Details
-
LPAR_TOK
- See Also:
-
RPAR_TOK
- See Also:
-
LBRA_TOK
- See Also:
-
RBRA_TOK
- See Also:
-
-
Method Details
-
next
Description copied from class:ByteBufferXMLReader
Return null if no more events available, or anEventCarrier
that carries one or more.Start- and end-document events are supplied by the caller, and so should not be supplied here.
The pin on the underlying state is held.
- Specified by:
next
in classByteBufferXMLReader
- Parameters:
buf
- The buffer to read from. Itsposition
may be used to maintain input position.- Returns:
- An
SyntheticXMLReader.EventCarrier
representing some XML parse events, null if none remain.
-