| java.lang.Object com.sun.xml.stream.buffer.XMLStreamBuffer com.sun.xml.stream.buffer.XMLStreamBufferMark
XMLStreamBufferMark | public class XMLStreamBufferMark extends XMLStreamBuffer (Code) | | A mark into a buffer.
A mark can be processed in the same manner as a XMLStreamBuffer.
A mark will share a sub set of information of the buffer that is
marked. If the buffer is directly or indirectly associated with a
(mutable)
XMLStreamBuffer which is reset and/or re-created
then this will invalidate the mark and processing behvaiour of the mark
is undefined. It is the responsibility of the application to manage the
relationship between the marked XMLStreamBuffer and one or more marks.
|
XMLStreamBufferMark | public XMLStreamBufferMark(Map<String, String> inscopeNamespaces, AbstractCreatorProcessor src)(Code) | | Create a mark from the buffer that is being created.
A mark will be created from the current position of creation of the
XMLStreamBuffer that is being created by a
AbstractCreator .
Parameters: inscopeNamespaces - The in-scope namespaces on the fragment of XML infoset that isto be marked. Parameters: src - The AbstractCreator or AbstractProcessor from which the currentposition of creation of the XMLStreamBuffer will be taken as the mark. |
Methods inherited from com.sun.xml.stream.buffer.XMLStreamBuffer | public static XMLStreamBuffer createNewBufferFromXMLReader(XMLReader reader, InputStream in) throws SAXException, IOException(Code)(Java Doc) public static XMLStreamBuffer createNewBufferFromXMLReader(XMLReader reader, InputStream in, String systemId) throws SAXException, IOException(Code)(Java Doc) public static XMLStreamBuffer createNewBufferFromXMLStreamReader(XMLStreamReader reader) throws XMLStreamException(Code)(Java Doc) final protected FragmentedArray<char[]> getContentCharactersBuffer()(Code)(Java Doc) final protected int getContentCharactersBufferPtr()(Code)(Java Doc) final protected FragmentedArray<Object[]> getContentObjects()(Code)(Java Doc) final protected int getContentObjectsPtr()(Code)(Java Doc) final public Map<String, String> getInscopeNamespaces()(Code)(Java Doc) final protected FragmentedArray<byte[]> getStructure()(Code)(Java Doc) final protected int getStructurePtr()(Code)(Java Doc) final protected FragmentedArray<String[]> getStructureStrings()(Code)(Java Doc) final protected int getStructureStringsPtr()(Code)(Java Doc) final public String getSystemId()(Code)(Java Doc) final public boolean hasInternedStrings()(Code)(Java Doc) final public boolean isCreated()(Code)(Java Doc) final public boolean isElementFragment()(Code)(Java Doc) final public boolean isForest()(Code)(Java Doc) final public boolean isFragment()(Code)(Java Doc) final public SAXBufferProcessor readAsXMLReader()(Code)(Java Doc) final public SAXBufferProcessor readAsXMLReader(boolean produceFragmentEvent)(Code)(Java Doc) final public StreamReaderBufferProcessor readAsXMLStreamReader() throws XMLStreamException(Code)(Java Doc) final public void writeTo(ContentHandler handler, boolean produceFragmentEvent) throws SAXException(Code)(Java Doc) final public void writeTo(ContentHandler handler) throws SAXException(Code)(Java Doc) final public void writeTo(ContentHandler handler, ErrorHandler errorHandler, boolean produceFragmentEvent) throws SAXException(Code)(Java Doc) final public void writeTo(ContentHandler handler, ErrorHandler errorHandler) throws SAXException(Code)(Java Doc) final public Node writeTo(Node n) throws XMLStreamBufferException(Code)(Java Doc) final public void writeToXMLStreamWriter(XMLStreamWriter writer, boolean writeAsFragment) throws XMLStreamException(Code)(Java Doc) final public void writeToXMLStreamWriter(XMLStreamWriter writer) throws XMLStreamException(Code)(Java Doc)
|
|
|