A B C D E F G H I L M N O P R S T U V W

A

accept(SMEvent, SMInputCursor) - Method in class org.codehaus.staxmate.in.ElementFilter
 
accept(SMEvent, SMInputCursor) - Method in class org.codehaus.staxmate.in.SimpleFilter
 
accept(SMEvent, SMInputCursor) - Method in class org.codehaus.staxmate.in.SMFilter
Methods iterators call to check whether specified event should be return, or filtered out.
addAndReleaseBuffered(SMBufferable) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
addAttribute(SMNamespace, String, String) - Method in class org.codehaus.staxmate.out.SMOutputElement
 
addAttribute(String, String) - Method in class org.codehaus.staxmate.out.SMOutputElement
Convenience method for attributes that do not belong to a namespace (no prefix)
addAttribute(SMNamespace, String, int) - Method in class org.codehaus.staxmate.out.SMOutputElement
Convenience method to use for adding attributes with integer values
addBuffered(SMBufferable) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
addCData(String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
addCData(char[], int, int) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
addCharacters(String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
addCharacters(char[], int, int) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
addCharacters(int) - Method in class org.codehaus.staxmate.out.SMOutputContainer
Convenience method for adding value of an int as text
addComment(String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
addDoctypeDecl(String, String, String) - Method in class org.codehaus.staxmate.out.SMOutputDocument
 
addDoctypeDecl(String, String, String, String) - Method in class org.codehaus.staxmate.out.SMOutputDocument
 
addElement(SMNamespace, String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
addElement(String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
Convenience method (equivalent to addElement(null, localName);) for adding an element that is not in a namespace.
addEntityRef(String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
addEntry(int, Object) - Method in class org.codehaus.staxmate.util.ArrayMaker
 
addProcessingInstruction(String, String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
ArrayMaker - Class in org.codehaus.staxmate.util
Simple helper class used to create compact array presentations where the eventual size is not initially known.
ArrayMaker() - Constructor for class org.codehaus.staxmate.util.ArrayMaker
 

B

bindAs(String) - Method in class org.codehaus.staxmate.out.SMGlobalNamespace
Global namespaces should never be bound/unbound, so if this gets called, an exception will be thrown (but note that this being an 'internal' method, this is more like an assertion).
bindAs(String) - Method in class org.codehaus.staxmate.out.SMLocalNamespace
The only trick with regard to binding/unbinding of local namespaces is that "re-binding" is not allowed (by StaxMate design; XML would allow it).
bindAs(String) - Method in class org.codehaus.staxmate.out.SMNamespace
Method called to indicate that the namespace is now bound to a specific prefix within current output context.
bindPermanentlyAs(String) - Method in class org.codehaus.staxmate.out.SMGlobalNamespace
 
bindPermanentlyAs(String) - Method in class org.codehaus.staxmate.out.SMLocalNamespace
 
bindPermanentlyAs(String) - Method in class org.codehaus.staxmate.out.SMNamespace
Method used to permanently bind this (local) namespace to a prefix.

C

canOutputNewChild() - Method in class org.codehaus.staxmate.out.SMBufferedFragment
 
canOutputNewChild() - Method in class org.codehaus.staxmate.out.SMOutputContainer
Method called to figure out if we can just output a newly added child, without any buffering.
canOutputNewChild() - Method in class org.codehaus.staxmate.out.SMOutputElement
 
canOutputNewChild() - Method in class org.codehaus.staxmate.out.SMRootFragment
 
childCursor(SMFilter) - Method in class org.codehaus.staxmate.in.SMInputCursor
Method that will create a new nested cursor for iterating over all (immediate) child nodes of the start element this cursor currently points to.
childCursor() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
childElementCursor() - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience method; equivalent to childCursor(SMFilterFactory.getElementOnlyFilter());
childElementCursor(QName) - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience method; equivalent to childCursor(SMFilterFactory.getElementOnlyFilter(elemName)); Will only return START_ELEMENT and END_ELEMENT events, whose element name matches given qname.
childElementCursor(String) - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience method; equivalent to childCursor(SMFilterFactory.getElementOnlyFilter(elemName)); Will only return START_ELEMENT and END_ELEMENT events, whose element's local name matches given local name, and that does not belong to a namespace.
childMixedCursor() - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience method; equivalent to childCursor(SMFilterFactory.getMixedFilter());
childReleased(SMOutputtable) - Method in class org.codehaus.staxmate.out.SMBufferedFragment
 
childReleased(SMOutputtable) - Method in class org.codehaus.staxmate.out.SMOutputContainer
Method called by a child, when it is released and neither is or contains any buffered entities.
childReleased(SMOutputtable) - Method in class org.codehaus.staxmate.out.SMOutputElement
 
childReleased(SMOutputtable) - Method in class org.codehaus.staxmate.out.SMRootFragment
 
closeAllButLastChild() - Method in class org.codehaus.staxmate.out.SMOutputContainer
Method that will try to close and output all children except for the last, and if that succeeds, output last child if it need not be closed (true for non-element/simple children).
closeAndOutputChildren() - Method in class org.codehaus.staxmate.out.SMOutputContainer
Method that will try to close and output all child nodes that can be (ones that are not buffered), and returns true if that succeeds; or false if there was at least one buffered descendant.
closeRoot() - Method in class org.codehaus.staxmate.out.SMOutputDocument
Method that HAS to be called when all additions have been done via StaxMate API.
closeRoot() - Method in class org.codehaus.staxmate.out.SMRootFragment
Method that HAS to be called when all additions have been done via StaxMate API.
collectDescendantText(boolean) - Method in class org.codehaus.staxmate.in.SMInputCursor
Method that can collect all text contained within START_ELEMENT currently pointed by this cursor.
constructChildCursor(SMFilter) - Method in class org.codehaus.staxmate.in.SMFlatteningCursor
 
constructChildCursor(SMFilter) - Method in class org.codehaus.staxmate.in.SMHierarchicCursor
 
constructChildCursor(SMFilter) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
constructDescendantCursor(SMFilter) - Method in class org.codehaus.staxmate.in.SMFlatteningCursor
 
constructDescendantCursor(SMFilter) - Method in class org.codehaus.staxmate.in.SMHierarchicCursor
 
constructDescendantCursor(SMFilter) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
constructElementInfo(SMInputCursor, SMElementInfo, SMElementInfo) - Method in interface org.codehaus.staxmate.in.ElementInfoFactory
 
constructElementInfo(SMElementInfo, SMElementInfo) - Method in class org.codehaus.staxmate.in.SMInputCursor
Method cursor calls when it needs to track element state information; if so, it calls this method to take a snapshot of the element.
create(String) - Static method in class org.codehaus.staxmate.out.SMOCData
 
create(String) - Static method in class org.codehaus.staxmate.out.SMOCharacters
 
createBufferedElement(SMNamespace, String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
createBufferedFragment() - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
createBufferedFragment() - Method in class org.codehaus.staxmate.out.SMOutputContext
 
createCData(String) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
createCData(char[], int, int) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
createCharacters(String) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
createCharacters(char[], int, int) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
createComment(String) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
createDocument() - Method in class org.codehaus.staxmate.out.SMOutputContext
Method used to create a StaxMate output fragment that corresponds to a single well-formed XML document.
createDocument(String, String) - Method in class org.codehaus.staxmate.out.SMOutputContext
Method used to create a StaxMate output fragment that corresponds to a single well-formed XML document.
createDocument(String, String, boolean) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
createEntityRef(String) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
createInstance(XMLStreamWriter2, NamespaceContext) - Static method in class org.codehaus.staxmate.out.SMOutputContext
 
createInstance(XMLStreamWriter2) - Static method in class org.codehaus.staxmate.out.SMOutputContext
 
createNonShared(char[], int, int) - Static method in class org.codehaus.staxmate.out.SMOCData
 
createNonShared(char[], int, int) - Static method in class org.codehaus.staxmate.out.SMOCharacters
 
createNonSharedCData(char[], int, int) - Method in class org.codehaus.staxmate.out.SMOutputContext
Specialized alternative to {link #createCData(char[],int,int)} that can count on the passed char array NOT being shared.
createNonSharedCharacters(char[], int, int) - Method in class org.codehaus.staxmate.out.SMOutputContext
Specialized alternative to {link #createCharacters(char[],int,int)} that can count on the passed char array NOT being shared.
createOutputDocument(XMLStreamWriter) - Static method in class org.codehaus.staxmate.SMOutputFactory
 
createOutputDocument(XMLStreamWriter, String, String, boolean) - Static method in class org.codehaus.staxmate.SMOutputFactory
 
createOutputFragment(XMLStreamWriter) - Static method in class org.codehaus.staxmate.SMOutputFactory
 
createProcessingInstruction(String, String) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
createRootFragment() - Method in class org.codehaus.staxmate.out.SMOutputContext
Method to use when outputting an XML sub-tree, in which case the underlying stream writer may be (or has been) used for outputting XML content in addition to content that is output using StaxMate.
createShared(char[], int, int) - Static method in class org.codehaus.staxmate.out.SMOCData
 
createShared(char[], int, int) - Static method in class org.codehaus.staxmate.out.SMOCharacters
 
currentEventStr() - Method in class org.codehaus.staxmate.in.SMInputCursor
 

D

DefaultElementInfo - Class in org.codehaus.staxmate.in
The default implementation of SMElementInfo; fully implements all accessors by storing information necessary.
DefaultElementInfo(SMElementInfo, SMElementInfo, String, String, String, int, int, int) - Constructor for class org.codehaus.staxmate.in.DefaultElementInfo
 
descendantCursor(SMFilter) - Method in class org.codehaus.staxmate.in.SMInputCursor
Method that will create a new nested cursor for iterating over all the descendant (children and grandchildren) nodes of the start element this cursor currently points to.
descendantCursor() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
descendantElementCursor() - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience method; equivalent to descendantCursor(SMFilterFactory.getElementOnlyFilter());
descendantElementCursor(QName) - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience method; equivalent to descendantCursor(SMFilterFactory.getElementOnlyFilter(elemName)); Will only return START_ELEMENT and END_ELEMENT events, whose element name matches given qname.
descendantElementCursor(String) - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience method; equivalent to descendantCursor(SMFilterFactory.getElementOnlyFilter(elemLocalName));.
descendantMixedCursor() - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience method; equivalent to descendantCursor(SMFilterFactory.getMixedFilter());
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMBufferedElement
 
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMBufferedFragment
 
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMOCData
 
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMOCharacters
 
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMOComment
 
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMOEntityRef
 
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMOProcInstr
 
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMOutputElement
 
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMOutputtable
Method called to request that the entity output itself; either as much as it can without closing, or as much as it can if it is to get closed.
doOutput(SMOutputContext, boolean) - Method in class org.codehaus.staxmate.out.SMRootFragment
 
doParseInt(String) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
doParseInt(String, int) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
doWriteEndElement() - Method in class org.codehaus.staxmate.out.SMOutputElement
 
doWriteStartElement() - Method in class org.codehaus.staxmate.out.SMOutputElement
 

E

ElementFilter - Class in org.codehaus.staxmate.in
This is a simple element-only filter, that accepts those element nodes that match the given element name.
ElementFilter(String, String) - Constructor for class org.codehaus.staxmate.in.ElementFilter
 
ElementFilter(String) - Constructor for class org.codehaus.staxmate.in.ElementFilter
 
ElementFilter(QName) - Constructor for class org.codehaus.staxmate.in.ElementFilter
 
ElementInfoFactory - Interface in org.codehaus.staxmate.in
Simple factory class that can be used to customize instances of SMElementInfo that iterators construct and store when element tracking is enabled.
extend(int, int) - Method in class org.codehaus.staxmate.in.SimpleFilter
 

F

findAttrIndex(String, String) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
findRootPrefix(SMNamespace) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
flatteningCursor(XMLStreamReader, SMFilter) - Static method in class org.codehaus.staxmate.SMInputFactory
 
flushWriter() - Method in class org.codehaus.staxmate.out.SMOutputContext
 
forceChildOutput() - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
forceOutput(SMOutputContext) - Method in class org.codehaus.staxmate.out.SMBufferedFragment
 
forceOutput(SMOutputContext) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
forceOutput(SMOutputContext) - Method in class org.codehaus.staxmate.out.SMOutputElement
 
forceOutput(SMOutputContext) - Method in class org.codehaus.staxmate.out.SMOutputtable
Method similar to SMOutputtable.doOutput(org.codehaus.staxmate.out.SMOutputContext, boolean), except that this method will always succeed in doing the output.
forceOutput(SMOutputContext) - Method in class org.codehaus.staxmate.out.SMRootFragment
 

G

generateUnboundPrefix() - Method in class org.codehaus.staxmate.out.SMOutputContext
 
getAttrCount() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrIntValue(int) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrIntValue(String, String) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrIntValue(int, int) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrIntValue(String, String, int) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrLocalName(int) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrName(int) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrNsUri(int) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrPrefix(int) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrValue(int) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getAttrValue(String) - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience accessor method to access an attribute that is not in a namespace (has no prefix).
getAttrValue(String, String) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getBaseParentCount() - Method in class org.codehaus.staxmate.in.SMInputCursor
This method is needed by flattening cursors when they have child cursors: if so, they can determine their depth relative to child cursor's base parent count (and can not check stream -- as it may have moved -- nor want to have separate field to track this information)
getBoundPrefix() - Method in class org.codehaus.staxmate.out.SMGlobalNamespace
 
getBoundPrefix() - Method in class org.codehaus.staxmate.out.SMLocalNamespace
 
getBoundPrefix() - Method in class org.codehaus.staxmate.out.SMNamespace
 
getContext() - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
getCurrEvent() - Method in class org.codehaus.staxmate.in.SMInputCursor
Returns the type of event this cursor either currently points to (if in valid state), or pointed to (if ever iterated forward), or null if just created.
getCurrEventCode() - Method in class org.codehaus.staxmate.in.SMInputCursor
Convenience method doing
getData() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getDepth() - Method in class org.codehaus.staxmate.in.DefaultElementInfo
 
getDepth() - Method in class org.codehaus.staxmate.in.SMElementInfo
Optional operation that will return number of parent start elements this element has, if any.
getDepth() - Method in class org.codehaus.staxmate.in.SMInputCursor
Deprecated. 
getElementCount() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getElementIndex() - Method in class org.codehaus.staxmate.in.DefaultElementInfo
 
getElementIndex() - Method in class org.codehaus.staxmate.in.SMElementInfo
Optional operation that will return the zero-based index of the element amongst all (start) elements iterated over by the iterator that created this element info object.
getElementInfoFactory() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getElementOnlyFilter() - Static method in class org.codehaus.staxmate.in.SMFilterFactory
 
getElementOnlyFilter(QName) - Static method in class org.codehaus.staxmate.in.SMFilterFactory
 
getElementOnlyFilter(String) - Static method in class org.codehaus.staxmate.in.SMFilterFactory
 
getElementTracking() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getEmptyNamespace() - Static method in class org.codehaus.staxmate.out.SMOutputContext
 
getEventCode() - Method in enum org.codehaus.staxmate.in.SMEvent
 
getGlobalXMLInputFactory() - Static method in class org.codehaus.staxmate.SMInputFactory
Convenience method that will get a lazily constructed shared XMLInputFactory instance.
getGlobalXMLOutputFactory() - Static method in class org.codehaus.staxmate.SMOutputFactory
Convenience method that will get a lazily constructed shared XMLOutputFactory instance.
getLastBoundPrefix() - Method in class org.codehaus.staxmate.out.SMGlobalNamespace
 
getLastBoundPrefix() - Method in class org.codehaus.staxmate.out.SMLocalNamespace
 
getLastBoundPrefix() - Method in class org.codehaus.staxmate.out.SMNamespace
 
getLocalName() - Method in class org.codehaus.staxmate.in.DefaultElementInfo
 
getLocalName() - Method in class org.codehaus.staxmate.in.SMElementInfo
Optional operation that will return the local name of the element, or, if namespace support was not enabled for the parser, full name including possible namespace prefix.
getLocalName() - Method in class org.codehaus.staxmate.in.SMInputCursor
For events with fully qualified names (START_ELEMENT, END_ELEMENT, ATTRIBUTE, NAMESPACE), returns the local component of the full name.
getLocalName() - Method in class org.codehaus.staxmate.out.SMOutputElement
 
getLocation() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getMixedFilter() - Static method in class org.codehaus.staxmate.in.SMFilterFactory
 
getNamespace(String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
Convenience method for getting namespace instance that uniquely represents the specified URI (uniquely meaning that for a given output context there are never more than one instances for a given URI; which means that identity comparison is enough to check for equality of two namespaces).
getNamespace(String, String) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
getNamespace(String) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
getNamespace(String, String) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
getNamespace() - Method in class org.codehaus.staxmate.out.SMOutputElement
 
getNamespaceURI() - Method in class org.codehaus.staxmate.in.DefaultElementInfo
 
getNamespaceURI() - Method in class org.codehaus.staxmate.in.SMElementInfo
Optional operation that will return the URI of the namespace of the element; this will be empty String ("") for the default namespace (if none declared), or if namespace support was not enabled for the parser.
getNext() - Method in class org.codehaus.staxmate.in.SMFlatteningCursor
 
getNext() - Method in class org.codehaus.staxmate.in.SMHierarchicCursor
 
getNext() - Method in class org.codehaus.staxmate.in.SMInputCursor
Main iterating method.
getNext() - Method in class org.codehaus.staxmate.out.SMOutputtable
 
getNodeCount() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getNodeIndex() - Method in class org.codehaus.staxmate.in.DefaultElementInfo
 
getNodeIndex() - Method in class org.codehaus.staxmate.in.SMElementInfo
Optional operation that will return the zero-based index of the element node amongst all nodes iterated over by the iterator that created this element info object.
getNonIgnorableTextFilter() - Static method in class org.codehaus.staxmate.in.SMFilterFactory
 
getNsUri() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getParent() - Method in class org.codehaus.staxmate.in.DefaultElementInfo
 
getParent() - Method in class org.codehaus.staxmate.in.SMElementInfo
Optional operation that will return information about the parent element of this element, if one exists; null if not (case for the root element).
getParent() - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
getParentCount() - Method in class org.codehaus.staxmate.in.SMFlatteningCursor
 
getParentCount() - Method in class org.codehaus.staxmate.in.SMHierarchicCursor
 
getParentCount() - Method in class org.codehaus.staxmate.in.SMInputCursor
Number of parent elements that the token/event cursor points to has, if it points to one.
getParentTrackedElement() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getPath(StringBuilder) - Method in class org.codehaus.staxmate.out.SMBufferedFragment
 
getPath() - Method in class org.codehaus.staxmate.out.SMOutputContainer
Method that can be called to get an XPath like description of the relative location of this output node, starting from root.
getPath(StringBuilder) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
getPath(StringBuilder) - Method in class org.codehaus.staxmate.out.SMOutputElement
 
getPath(StringBuilder) - Method in class org.codehaus.staxmate.out.SMRootFragment
 
getPreferredPrefix() - Method in class org.codehaus.staxmate.out.SMGlobalNamespace
 
getPreferredPrefix() - Method in class org.codehaus.staxmate.out.SMLocalNamespace
 
getPreferredPrefix() - Method in class org.codehaus.staxmate.out.SMNamespace
 
getPrefix() - Method in class org.codehaus.staxmate.in.DefaultElementInfo
 
getPrefix() - Method in class org.codehaus.staxmate.in.SMElementInfo
Optional operation that will return the prefix of the element, if it had one and namespace support was enabled for the parser.
getPrefix() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getPrefixedName() - Method in class org.codehaus.staxmate.in.SMInputCursor
Returns a String representation of either the fully-qualified name (if the event has full name) or the local name (if event does not have full name but has local name); or if no name available, throws stream exception.
getPreviousSibling() - Method in class org.codehaus.staxmate.in.DefaultElementInfo
 
getPreviousSibling() - Method in class org.codehaus.staxmate.in.SMElementInfo
Optional operation that will return information about the previous sibling in the sibling element chain.
getQName() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getStateDesc() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getStreamReader() - Method in class org.codehaus.staxmate.in.SMInputCursor
Method that can be used to get direct access to the underlying stream reader.
getText() - Method in class org.codehaus.staxmate.in.SMInputCursor
Method that can be used when this cursor points to a textual event; something for which XMLStreamReader.getText() can be called.
getTextOnlyFilter() - Static method in class org.codehaus.staxmate.in.SMFilterFactory
 
getTrackedElement() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
getURI() - Method in class org.codehaus.staxmate.out.SMNamespace
 
getWriter() - Method in class org.codehaus.staxmate.out.SMOutputContext
 

H

hasLocalName() - Method in enum org.codehaus.staxmate.in.SMEvent
This method returns true if it would be ok to call SMInputCursor.getLocalName() of the iterator object, when it is positioned over this event.
hasLocalName(String) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
hasName(String, String) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
hasQName() - Method in enum org.codehaus.staxmate.in.SMEvent
This method returns true if it would be ok to call SMInputCursor.getQName() of the iterator object, when it is positioned over this event.
hasText() - Method in enum org.codehaus.staxmate.in.SMEvent
This method returns true if it would be ok to call SMInputCursor.getText() of the iterator object, when it is positioned over this event.
hierarchicCursor(XMLStreamReader, SMFilter) - Static method in class org.codehaus.staxmate.SMInputFactory
 

I

invalidate() - Method in class org.codehaus.staxmate.in.SMInputCursor
Method called by the parent cursor, to indicate it has to traverse over xml content and that child cursor as well as all of its descendant cursors (if any) are to be considered invalid.
isBuffered() - Method in interface org.codehaus.staxmate.out.SMBufferable
 
isBuffered() - Method in class org.codehaus.staxmate.out.SMBufferedElement
 
isBuffered() - Method in class org.codehaus.staxmate.out.SMBufferedFragment
 
isElementEvent() - Method in enum org.codehaus.staxmate.in.SMEvent
 
isFirstChild() - Method in class org.codehaus.staxmate.in.SMElementInfo
 
isPrefixBound(String) - Method in class org.codehaus.staxmate.out.SMOutputContext
 
isRoot() - Method in class org.codehaus.staxmate.in.SMElementInfo
 
isRootCursor() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
isTextualEvent() - Method in enum org.codehaus.staxmate.in.SMEvent
Textual events are events that consist of regular document text content: ignorable white space, CDATA segments, and other text.
isValidIn(SMOutputContext) - Method in class org.codehaus.staxmate.out.SMGlobalNamespace
 
isValidIn(SMOutputContext) - Method in class org.codehaus.staxmate.out.SMLocalNamespace
 
isValidIn(SMOutputContext) - Method in class org.codehaus.staxmate.out.SMNamespace
Method used to verify that the namespace is actually valid within the specified output context.
isWriterRepairing() - Method in class org.codehaus.staxmate.out.SMOutputContext
 

L

LAST_BLOCKED - Static variable in class org.codehaus.staxmate.out.SMBufferedFragment
 
LAST_BUFFERED - Static variable in class org.codehaus.staxmate.out.SMBufferedFragment
 
linkNewChild(SMOutputtable) - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
linkNext(SMOutputtable) - Method in class org.codehaus.staxmate.out.SMOutputtable
 
linkParent(SMOutputContainer, boolean) - Method in interface org.codehaus.staxmate.out.SMBufferable
Method called by a container when bufferable item is linked as its child.
linkParent(SMOutputContainer, boolean) - Method in class org.codehaus.staxmate.out.SMBufferedFragment
 
linkParent(SMOutputContainer, boolean) - Method in class org.codehaus.staxmate.out.SMOutputElement
 

M

mActive - Variable in class org.codehaus.staxmate.out.SMRootFragment
Simple state flag; children can only be added when root container is still active.
main(String[]) - Static method in class org.codehaus.staxmate.SMInputFactory
 
mBaseDepth - Variable in class org.codehaus.staxmate.in.SMInputCursor
Depth the underlying stream reader had when this cursor was created (which is the number of currently open parent elements).
mChildCursor - Variable in class org.codehaus.staxmate.in.SMInputCursor
Cursor that has been opened for iterating child nodes of the start element node this cursor points to.
mContext - Variable in class org.codehaus.staxmate.out.SMLocalNamespace
Output context in which this namespace is to be used (scope of which it is bound)
mCurrEvent - Variable in class org.codehaus.staxmate.in.SMInputCursor
 
mCurrPrefix - Variable in class org.codehaus.staxmate.out.SMLocalNamespace
Prefix this namespace is currently bound to, if any.
mData - Variable in class org.codehaus.staxmate.in.SMInputCursor
Non-typesafe payload data that applications can use, to pass an extra argument along with cursors.
mElemCount - Variable in class org.codehaus.staxmate.in.SMInputCursor
Number of start elements iterated over by this cursor, including the current one.
mElemInfoFactory - Variable in class org.codehaus.staxmate.in.SMInputCursor
Optional factory instance that is used to create element info objects if element tracking is enabled.
mElemTracking - Variable in class org.codehaus.staxmate.in.SMInputCursor
Whether element information is to be tracked or not, and if it is, how much of it will be stored.
mFilter - Variable in class org.codehaus.staxmate.in.SMInputCursor
Optional filter object that can be used to filter out events of types caller is not interested in.
mIsBuffered - Variable in class org.codehaus.staxmate.out.SMBufferedElement
All instances are initially buffered; state will be changed when instance is released.
mIsPermanent - Variable in class org.codehaus.staxmate.out.SMLocalNamespace
 
mLocalName - Variable in class org.codehaus.staxmate.out.SMOutputElement
Local name of the element, name without preceding prefix or colon (in namespace mode).
mNext - Variable in class org.codehaus.staxmate.out.SMOutputtable
 
mNodeCount - Variable in class org.codehaus.staxmate.in.SMInputCursor
Number of nodes iterated over by this cursor, including the current one.
mNs - Variable in class org.codehaus.staxmate.out.SMOutputElement
Namespace of this element.
mOutputState - Variable in class org.codehaus.staxmate.out.SMOutputElement
 
mParentDefaultNs - Variable in class org.codehaus.staxmate.out.SMOutputElement
Namespace that was bound as the default namespace in the context where this element gets output.
mParentNsCount - Variable in class org.codehaus.staxmate.out.SMOutputElement
Number of explicitly bound namespaces parent element has (or for root elements 0).
mParentTrackedElement - Variable in class org.codehaus.staxmate.in.SMInputCursor
Element that the parent of this cursor tracked (if any), when this cursor was created.
mPreferDefaultNs - Variable in class org.codehaus.staxmate.out.SMLocalNamespace
Flag that indicates whether this namespaces prefers to be bound as the default namespace (for elements), or not.
mPrefix - Variable in class org.codehaus.staxmate.out.SMGlobalNamespace
Prefix this namespace is (permanently) bound to.
mPrefPrefix - Variable in class org.codehaus.staxmate.out.SMLocalNamespace
Prefererred (or suggested) prefix for the namespace; StaxMate will try to use this prefix if possible when binding namespaces and also passes it to the underlying stream writer.
mPrevPrefix - Variable in class org.codehaus.staxmate.out.SMLocalNamespace
Last prefix this name was bound to, if any.
mState - Variable in class org.codehaus.staxmate.in.SMInputCursor
Current state of the cursor.
mState - Variable in class org.codehaus.staxmate.out.SMBufferedFragment
All instances are initially buffered; state will be changed when instance is released (and further on with other changes)
mStreamReader - Variable in class org.codehaus.staxmate.in.SMInputCursor
Underlying stream reader used.
mTrackedElement - Variable in class org.codehaus.staxmate.in.SMInputCursor
Element that was last "tracked"; element over which cursor was moved, and of which state has been saved for further use.
mURI - Variable in class org.codehaus.staxmate.out.SMNamespace
URI of the actual namespace this class encapsulates

N

notAccessible(String) - Method in class org.codehaus.staxmate.in.SMInputCursor
 

O

org.codehaus.staxmate - package org.codehaus.staxmate
 
org.codehaus.staxmate.in - package org.codehaus.staxmate.in
 
org.codehaus.staxmate.out - package org.codehaus.staxmate.out
 
org.codehaus.staxmate.util - package org.codehaus.staxmate.util
 
OUTPUT_ATTRS - Static variable in class org.codehaus.staxmate.out.SMOutputElement
 
OUTPUT_CHILDREN - Static variable in class org.codehaus.staxmate.out.SMOutputElement
 
OUTPUT_CLOSED - Static variable in class org.codehaus.staxmate.out.SMOutputElement
 
OUTPUT_NONE - Static variable in class org.codehaus.staxmate.out.SMOutputElement
 

P

prefersDefaultNs() - Method in class org.codehaus.staxmate.out.SMGlobalNamespace
 
prefersDefaultNs(boolean) - Method in class org.codehaus.staxmate.out.SMGlobalNamespace
 
prefersDefaultNs() - Method in class org.codehaus.staxmate.out.SMLocalNamespace
 
prefersDefaultNs(boolean) - Method in class org.codehaus.staxmate.out.SMLocalNamespace
 
prefersDefaultNs() - Method in class org.codehaus.staxmate.out.SMNamespace
 
prefersDefaultNs(boolean) - Method in class org.codehaus.staxmate.out.SMNamespace
 
processDescendantText(Writer, boolean) - Method in class org.codehaus.staxmate.in.SMInputCursor
Method similar to SMInputCursor.collectDescendantText(boolean), but will write the text to specified Writer instead of collecting it into a String.

R

readerAccessible() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
release() - Method in interface org.codehaus.staxmate.out.SMBufferable
Method called to signal that the node need not be buffered any more (if not required to do so by parent/children restrictions)
release() - Method in class org.codehaus.staxmate.out.SMBufferedElement
 
release() - Method in class org.codehaus.staxmate.out.SMBufferedFragment
 
rewindPastChild() - Method in class org.codehaus.staxmate.in.SMInputCursor
Method called to skim through the content that the child cursor(s) are pointing to, end return once next call to XMLStreamReader2.next() will return the next event this cursor should see.
rootCursor(XMLStreamReader) - Static method in class org.codehaus.staxmate.SMInputFactory
 
rootElementCursor(XMLStreamReader) - Static method in class org.codehaus.staxmate.SMInputFactory
Return a nested cursor that will only ever iterate to one node, that is, the root element of the document reader is reading.

S

setData(Object) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
setElementInfoFactory(ElementInfoFactory) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
setElementTracking(SMInputCursor.Tracking) - Method in class org.codehaus.staxmate.in.SMInputCursor
Changes tracking mode of this cursor to the new specified mode.
setFilter(SMFilter) - Method in class org.codehaus.staxmate.in.SMInputCursor
 
setIndentation(String, int, int) - Method in class org.codehaus.staxmate.out.SMOutputContainer
This method can be called to enable or disable heuristic indentation for the output done using this output context.
setIndentation(String, int, int) - Method in class org.codehaus.staxmate.out.SMOutputContext
This method can be called to enable or disable heuristic indentation for the output done using this output context.
setPreferredPrefix(String) - Method in class org.codehaus.staxmate.out.SMGlobalNamespace
 
setPreferredPrefix(String) - Method in class org.codehaus.staxmate.out.SMLocalNamespace
 
setPreferredPrefix(String) - Method in class org.codehaus.staxmate.out.SMNamespace
Method that can be called to associate a "preferred" prefix; prefix that this namespace should be bound to instead of some automatically generated one (unless that prefix is already bound to another URI).
sEventsByIds - Static variable in class org.codehaus.staxmate.in.SMInputCursor
This is the mapping array, indexed by Stax 1.0 event type integer code, value being matching SMEvent enumeration value.
SimpleFilter - Class in org.codehaus.staxmate.in
Simple bit-set based filter that can be configured by specifying allowed event types.
SimpleFilter(int) - Constructor for class org.codehaus.staxmate.in.SimpleFilter
 
SimpleFilter(SMEvent) - Constructor for class org.codehaus.staxmate.in.SimpleFilter
 
skipToEndElement() - Method in class org.codehaus.staxmate.in.SMHierarchicCursor
Method called when current event/token is START_ELEMENT, but we are not interested in its contents (children).
SMBufferable - Interface in org.codehaus.staxmate.out
Interface that denotes output objects (fragments, elements) that explicitly start their life-cycle as buffered (other objects can be implicitly buffered due to explict ones as parents or previous siblings).
SMBufferedElement - Class in org.codehaus.staxmate.out
Buffered version of SMOutputElement; starts its life buffered, so that it, its attributes and content are not automatically written to the underlying stream, but only when buffered instance is released.
SMBufferedElement(SMOutputContext, String, SMNamespace) - Constructor for class org.codehaus.staxmate.out.SMBufferedElement
Note: although signature indicates we could throw an exception, this sub-class never does.
SMBufferedFragment - Class in org.codehaus.staxmate.out
Buffered fragment; starts its life buffered, so that its content are not automatically written to the underlying stream, but only when buffered instance is released.
SMBufferedFragment(SMOutputContext) - Constructor for class org.codehaus.staxmate.out.SMBufferedFragment
 
SMElementInfo - Class in org.codehaus.staxmate.in
This is the abstract base class that defines standard set of element information stored when element tracking is enabled for a SMInputCursor.
SMElementInfo() - Constructor for class org.codehaus.staxmate.in.SMElementInfo
 
SMEvent - Enum in org.codehaus.staxmate.in
 
SMFilter - Class in org.codehaus.staxmate.in
Simple class that defines for objects used to configure iterators so that they will filter out "uninteresting" events.
SMFilter() - Constructor for class org.codehaus.staxmate.in.SMFilter
 
SMFilterFactory - Class in org.codehaus.staxmate.in
Simple factory that can be used to get instances of simple default filters.
SMFilterFactory() - Constructor for class org.codehaus.staxmate.in.SMFilterFactory
 
SMFlatteningCursor - Class in org.codehaus.staxmate.in
Default implementation of generic flat (non-scoped) cursor; cursor that traverse all descendants (children and grandchildren) of a start element.
SMFlatteningCursor(SMInputCursor, XMLStreamReader2, SMFilter) - Constructor for class org.codehaus.staxmate.in.SMFlatteningCursor
 
SMGlobalNamespace - Class in org.codehaus.staxmate.out
Namespace that is global and shared for all SMOutputContext)s (~= XML documents or sub-trees).
SMGlobalNamespace(String, String) - Constructor for class org.codehaus.staxmate.out.SMGlobalNamespace
 
SMHierarchicCursor - Class in org.codehaus.staxmate.in
Default implementation of generic nested (scoped) cursor; cursor that only traverses direct children of a single start element.
SMHierarchicCursor(SMInputCursor, XMLStreamReader2, SMFilter) - Constructor for class org.codehaus.staxmate.in.SMHierarchicCursor
 
SMInputCursor - Class in org.codehaus.staxmate.in
Base class for reader-side cursors that form the main input-side abstraction offered by StaxMate.
SMInputCursor(SMInputCursor, XMLStreamReader2, SMFilter) - Constructor for class org.codehaus.staxmate.in.SMInputCursor
 
SMInputCursor.State - Enum in org.codehaus.staxmate.in
 
SMInputCursor.Tracking - Enum in org.codehaus.staxmate.in
This enumeration lists different tracking behaviors available for cursors.
SMInputFactory - Class in org.codehaus.staxmate
Factory class used to create SMInputCursor instances.
SMLocalNamespace - Class in org.codehaus.staxmate.out
Namespace that is local to a specific output context (SMOutputContext), think of it as the document or sub-tree StaxMate will output using a stream writer).
SMLocalNamespace(SMOutputContext, String, boolean, String) - Constructor for class org.codehaus.staxmate.out.SMLocalNamespace
 
SMNamespace - Class in org.codehaus.staxmate.out
Abstract base class for all namespace objects (local and global ones).
SMNamespace(String) - Constructor for class org.codehaus.staxmate.out.SMNamespace
 
SMOCData - Class in org.codehaus.staxmate.out
 
SMOCharacters - Class in org.codehaus.staxmate.out
 
SMOComment - Class in org.codehaus.staxmate.out
 
SMOComment(String) - Constructor for class org.codehaus.staxmate.out.SMOComment
 
SMOEntityRef - Class in org.codehaus.staxmate.out
 
SMOEntityRef(String) - Constructor for class org.codehaus.staxmate.out.SMOEntityRef
 
SMOProcInstr - Class in org.codehaus.staxmate.out
 
SMOProcInstr(String, String) - Constructor for class org.codehaus.staxmate.out.SMOProcInstr
 
SMOutputContainer - Class in org.codehaus.staxmate.out
Intermediate abstract output class for StaxMate, which is used as the base for all output nodes that can contain other nodes.
SMOutputContainer(SMOutputContext) - Constructor for class org.codehaus.staxmate.out.SMOutputContainer
 
SMOutputContext - Class in org.codehaus.staxmate.out
Class that encapsulates details about context in which StaxMate output is done.
SMOutputContext(XMLStreamWriter2, NamespaceContext) - Constructor for class org.codehaus.staxmate.out.SMOutputContext
 
SMOutputDocument - Class in org.codehaus.staxmate.out
Output class that models a full XML document, with xml declaration.
SMOutputDocument(SMOutputContext) - Constructor for class org.codehaus.staxmate.out.SMOutputDocument
 
SMOutputDocument(SMOutputContext, String, String) - Constructor for class org.codehaus.staxmate.out.SMOutputDocument
 
SMOutputDocument(SMOutputContext, String, String, boolean) - Constructor for class org.codehaus.staxmate.out.SMOutputDocument
 
SMOutputElement - Class in org.codehaus.staxmate.out
Output class that models an outputtable XML element.
SMOutputElement(SMOutputContext, String, SMNamespace) - Constructor for class org.codehaus.staxmate.out.SMOutputElement
 
SMOutputFactory - Class in org.codehaus.staxmate
Factory class used to create various outputter (like SMOutputDocument and SMRootFragment) instances.
SMOutputtable - Class in org.codehaus.staxmate.out
Basic building block for all outputtable content within StaxMate.
SMOutputtable() - Constructor for class org.codehaus.staxmate.out.SMOutputtable
 
SMRootFragment - Class in org.codehaus.staxmate.out
Concrete non-buffered fragment (== container) class used as the root level output container.
SMRootFragment(SMOutputContext) - Constructor for class org.codehaus.staxmate.out.SMRootFragment
 
sNsEmpty - Static variable in class org.codehaus.staxmate.out.SMOutputContext
 
sNsXml - Static variable in class org.codehaus.staxmate.out.SMOutputContext
 
sNsXmlns - Static variable in class org.codehaus.staxmate.out.SMOutputContext
 
STATE_BLOCKED - Static variable in class org.codehaus.staxmate.out.SMBufferedFragment
 
STATE_BUFFERED - Static variable in class org.codehaus.staxmate.out.SMBufferedFragment
 
STATE_BUFFERED_AND_BLOCKED - Static variable in class org.codehaus.staxmate.out.SMBufferedFragment
 
STATE_CLOSED - Static variable in class org.codehaus.staxmate.out.SMBufferedFragment
 
STATE_OPEN - Static variable in class org.codehaus.staxmate.out.SMBufferedFragment
 

T

throwBuffered() - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
throwClosed() - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
throwClosedForAttrs() - Method in class org.codehaus.staxmate.out.SMOutputElement
 
throwRelinking() - Method in class org.codehaus.staxmate.out.SMOutputContainer
 
throwUnexpectedEndDoc() - Method in class org.codehaus.staxmate.in.SMInputCursor
 
throwWrongEndElem(int, int) - Metho