Save This Page
Home » xmlbeans-2.5.0-src » org.apache.xmlbeans.impl » store » [javadoc | source]
org.apache.xmlbeans.impl.store
public final class: Cursor [javadoc | source]
java.lang.Object
   org.apache.xmlbeans.impl.store.Cursor

All Implemented Interfaces:
    XmlCursor, ChangeListener

Field Summary
static final  int ROOT     
static final  int ELEM     
static final  int ATTR     
static final  int COMMENT     
static final  int PROCINST     
static final  int TEXT     
Constructor:
 Cursor(Cur c) 
 Cursor(Xobj x,
    int p) 
Method from org.apache.xmlbeans.impl.store.Cursor Summary:
___toNextSibling,   _addToSelection,   _beginElement,   _beginElement,   _beginElement,   _clearBookmark,   _clearSelections,   _comparePosition,   _copyChars,   _copyXml,   _copyXmlContents,   _currentTokenType,   _dispose,   _documentProperties,   _dump,   _execQuery,   _execQuery,   _getAllBookmarkRefs,   _getAllNamespaces,   _getAttributeText,   _getBookmark,   _getChars,   _getChars,   _getDocChangeStamp,   _getDomNode,   _getName,   _getObject,   _getSelectionCount,   _getTextValue,   _getTextValue,   _hasNextSelection,   _hasNextToken,   _hasPrevToken,   _insertAttribute,   _insertAttribute,   _insertAttribute,   _insertAttributeWithValue,   _insertAttributeWithValue,   _insertAttributeWithValue,   _insertChars,   _insertComment,   _insertElement,   _insertElement,   _insertElement,   _insertElementWithText,   _insertElementWithText,   _insertElementWithText,   _insertNamespace,   _insertProcInst,   _isAnyAttr,   _isAtSamePositionAs,   _isAttr,   _isComment,   _isContainer,   _isEnd,   _isEnddoc,   _isFinish,   _isLeftOf,   _isNamespace,   _isProcinst,   _isRightOf,   _isStart,   _isStartdoc,   _isText,   _monitor,   _moveChars,   _moveXml,   _moveXmlContents,   _namespaceForPrefix,   _newCursor,   _newDomNode,   _newDomNode,   _newInputStream,   _newInputStream,   _newReader,   _newReader,   _newXMLInputStream,   _newXMLInputStream,   _newXMLStreamReader,   _newXMLStreamReader,   _pop,   _prefixForNamespace,   _prevTokenType,   _push,   _removeAttribute,   _removeChars,   _removeXml,   _removeXmlContents,   _save,   _save,   _save,   _save,   _save,   _save,   _save,   _save,   _selectPath,   _selectPath,   _setAttributeText,   _setBookmark,   _setName,   _setTextValue,   _setTextValue,   _toBookmark,   _toChild,   _toChild,   _toChild,   _toChild,   _toChild,   _toCursor,   _toEndDoc,   _toEndToken,   _toFirstAttribute,   _toFirstChild,   _toFirstContentToken,   _toLastAttribute,   _toLastChild,   _toNextAttribute,   _toNextBookmark,   _toNextChar,   _toNextSelection,   _toNextSibling,   _toNextSibling,   _toNextSibling,   _toNextToken,   _toParent,   _toPrevAttribute,   _toPrevBookmark,   _toPrevChar,   _toPrevSibling,   _toPrevToken,   _toSelection,   _toStartDoc,   _xmlText,   _xmlText,   addToSelection,   beginElement,   beginElement,   beginElement,   clearBookmark,   clearSelections,   comparePosition,   copyChars,   copyXml,   copyXmlContents,   currentTokenType,   dispose,   documentProperties,   dump,   dump,   execQuery,   execQuery,   getAllBookmarkRefs,   getAllNamespaces,   getAttributeText,   getBookmark,   getBookmark,   getChars,   getChars,   getDocChangeStamp,   getDomNode,   getName,   getNextChangeListener,   getObject,   getSelectionCount,   getTextValue,   getTextValue,   hasNextSelection,   hasNextToken,   hasPrevToken,   insertAttribute,   insertAttribute,   insertAttribute,   insertAttributeWithValue,   insertAttributeWithValue,   insertAttributeWithValue,   insertChars,   insertComment,   insertElement,   insertElement,   insertElement,   insertElementWithText,   insertElementWithText,   insertElementWithText,   insertNamespace,   insertProcInst,   isAnyAttr,   isAtSamePositionAs,   isAttr,   isComment,   isContainer,   isEnd,   isEnddoc,   isFinish,   isInSameDocument,   isLeftOf,   isNamespace,   isProcinst,   isRightOf,   isStart,   isStartdoc,   isText,   locale,   monitor,   moveChars,   moveXml,   moveXmlContents,   namespaceForPrefix,   newCursor,   newCursor,   newDomNode,   newDomNode,   newInputStream,   newInputStream,   newReader,   newReader,   newXMLInputStream,   newXMLInputStream,   newXMLStreamReader,   newXMLStreamReader,   notifyChange,   pop,   prefixForNamespace,   prevTokenType,   push,   removeAttribute,   removeChars,   removeXml,   removeXmlContents,   save,   save,   save,   save,   save,   save,   save,   save,   selectPath,   selectPath,   setAttributeText,   setBookmark,   setName,   setNextChangeListener,   setTextValue,   setTextValue,   tempCur,   toBookmark,   toChild,   toChild,   toChild,   toChild,   toChild,   toCursor,   toEndDoc,   toEndToken,   toFirstAttribute,   toFirstChild,   toFirstContentToken,   toLastAttribute,   toLastChild,   toNextAttribute,   toNextBookmark,   toNextChar,   toNextSelection,   toNextSibling,   toNextSibling,   toNextSibling,   toNextSibling,   toNextToken,   toParent,   toPrevAttribute,   toPrevBookmark,   toPrevChar,   toPrevSibling,   toPrevToken,   toSelection,   toStartDoc,   validateLocalName,   validateLocalName,   validatePrefix,   xmlText,   xmlText
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xmlbeans.impl.store.Cursor Detail:
 public boolean ___toNextSibling() 
 public  void _addToSelection() 
 public  void _beginElement(String localName) 
 public  void _beginElement(QName name) 
 public  void _beginElement(String localName,
    String uri) 
 public  void _clearBookmark(Object key) 
 public  void _clearSelections() 
 public int _comparePosition(Cursor other) 
 public int _copyChars(int cch,
    Cursor to) 
 public boolean _copyXml(Cursor to) 
 public boolean _copyXmlContents(Cursor to) 
 public TokenType _currentTokenType() 
 public  void _dispose() 
 public XmlDocumentProperties _documentProperties() 
 public  void _dump() 
 public XmlCursor _execQuery(String query) 
 public XmlCursor _execQuery(String query,
    XmlOptions options) 
 public  void _getAllBookmarkRefs(Collection listToFill) 
 public  void _getAllNamespaces(Map addToThis) 
 public String _getAttributeText(QName attrName) 
 public XmlBookmark _getBookmark(Object key) 
 public String _getChars() 
 public int _getChars(char[] buf,
    int off,
    int cch) 
 public ChangeStamp _getDocChangeStamp() 
 public Node _getDomNode() 
 public QName _getName() 
 public XmlObject _getObject() 
 public int _getSelectionCount() 
 public String _getTextValue() 
 public int _getTextValue(char[] chars,
    int offset,
    int max) 
 public boolean _hasNextSelection() 
 public boolean _hasNextToken() 
 public boolean _hasPrevToken() 
 public  void _insertAttribute(String localName) 
 public  void _insertAttribute(QName name) 
 public  void _insertAttribute(String localName,
    String uri) 
 public  void _insertAttributeWithValue(String localName,
    String value) 
 public  void _insertAttributeWithValue(QName name,
    String text) 
 public  void _insertAttributeWithValue(String localName,
    String uri,
    String value) 
 public  void _insertChars(String text) 
 public  void _insertComment(String text) 
 public  void _insertElement(String localName) 
 public  void _insertElement(QName name) 
 public  void _insertElement(String localName,
    String uri) 
 public  void _insertElementWithText(String localName,
    String text) 
 public  void _insertElementWithText(QName name,
    String text) 
 public  void _insertElementWithText(String localName,
    String uri,
    String text) 
 public  void _insertNamespace(String prefix,
    String namespace) 
 public  void _insertProcInst(String target,
    String text) 
 public boolean _isAnyAttr() 
 public boolean _isAtSamePositionAs(Cursor other) 
 public boolean _isAttr() 
 public boolean _isComment() 
 public boolean _isContainer() 
 public boolean _isEnd() 
 public boolean _isEnddoc() 
 public boolean _isFinish() 
 public boolean _isLeftOf(Cursor other) 
 public boolean _isNamespace() 
 public boolean _isProcinst() 
 public boolean _isRightOf(Cursor other) 
 public boolean _isStart() 
 public boolean _isStartdoc() 
 public boolean _isText() 
 public Object _monitor() 
 public int _moveChars(int cch,
    Cursor to) 
 public boolean _moveXml(Cursor to) 
 public boolean _moveXmlContents(Cursor to) 
 public String _namespaceForPrefix(String prefix) 
 public XmlCursor _newCursor() 
 public Node _newDomNode() 
 public Node _newDomNode(XmlOptions options) 
 public InputStream _newInputStream() 
 public InputStream _newInputStream(XmlOptions options) 
 public Reader _newReader() 
 public Reader _newReader(XmlOptions options) 
 public XMLInputStream _newXMLInputStream() 
Deprecated! XMLInputStream - was deprecated by XMLStreamReader from STaX - jsr173 API.

 public XMLInputStream _newXMLInputStream(XmlOptions options) 
Deprecated! XMLInputStream - was deprecated by XMLStreamReader from STaX - jsr173 API.

 public XMLStreamReader _newXMLStreamReader() 
 public XMLStreamReader _newXMLStreamReader(XmlOptions options) 
 public boolean _pop() 
 public String _prefixForNamespace(String ns) 
 public TokenType _prevTokenType() 
 public  void _push() 
 public boolean _removeAttribute(QName attrName) 
 public int _removeChars(int cch) 
 public boolean _removeXml() 
 public boolean _removeXmlContents() 
 public  void _save(File file) throws IOException 
 public  void _save(OutputStream os) throws IOException 
 public  void _save(Writer w) throws IOException 
 public  void _save(ContentHandler ch,
    LexicalHandler lh) throws SAXException 
 public  void _save(File file,
    XmlOptions options) throws IOException 
 public  void _save(OutputStream os,
    XmlOptions options) throws IOException 
 public  void _save(Writer w,
    XmlOptions options) throws IOException 
 public  void _save(ContentHandler ch,
    LexicalHandler lh,
    XmlOptions options) throws SAXException 
 public  void _selectPath(String path) 
 public  void _selectPath(String pathExpr,
    XmlOptions options) 
 public boolean _setAttributeText(QName attrName,
    String value) 
 public  void _setBookmark(XmlBookmark bookmark) 
 public  void _setName(QName name) 
 public  void _setTextValue(String text) 
 public  void _setTextValue(char[] sourceChars,
    int offset,
    int length) 
 public boolean _toBookmark(XmlBookmark bookmark) 
 public boolean _toChild(String local) 
 public boolean _toChild(QName name) 
 public boolean _toChild(int index) 
 public boolean _toChild(String uri,
    String local) 
 public boolean _toChild(QName name,
    int index) 
 public boolean _toCursor(Cursor other) 
 public  void _toEndDoc() 
 public TokenType _toEndToken() 
 public boolean _toFirstAttribute() 
 public boolean _toFirstChild() 
 public TokenType _toFirstContentToken() 
 public boolean _toLastAttribute() 
 public boolean _toLastChild() 
 public boolean _toNextAttribute() 
 public XmlBookmark _toNextBookmark(Object key) 
 public int _toNextChar(int maxCharacterCount) 
 public boolean _toNextSelection() 
 public boolean _toNextSibling(String name) 
 public boolean _toNextSibling(QName name) 
 public boolean _toNextSibling(String uri,
    String local) 
 public TokenType _toNextToken() 
 public boolean _toParent() 
 public boolean _toPrevAttribute() 
 public XmlBookmark _toPrevBookmark(Object key) 
 public int _toPrevChar(int maxCharacterCount) 
 public boolean _toPrevSibling() 
 public TokenType _toPrevToken() 
 public boolean _toSelection(int i) 
 public  void _toStartDoc() 
 public String _xmlText() 
 public String _xmlText(XmlOptions options) 
 public  void addToSelection() 
 public  void beginElement(QName name) 
 public  void beginElement(String localName) 
 public  void beginElement(String localName,
    String uri) 
 public  void clearBookmark(Object key) 
 public  void clearSelections() 
 public int comparePosition(XmlCursor xOther) 
 public int copyChars(int cch,
    XmlCursor xTo) 
 public boolean copyXml(XmlCursor xTo) 
 public boolean copyXmlContents(XmlCursor xTo) 
 public TokenType currentTokenType() 
 public  void dispose() 
 public XmlDocumentProperties documentProperties() 
 public  void dump() 
 public  void dump(PrintStream o) 
 public XmlCursor execQuery(String query) 
 public XmlCursor execQuery(String query,
    XmlOptions options) 
 public  void getAllBookmarkRefs(Collection listToFill) 
 public  void getAllNamespaces(Map addToThis) 
 public String getAttributeText(QName attrName) 
 public XmlBookmark getBookmark(Object key) 
 static XmlBookmark getBookmark(Object key,
    Cur c) 
 public String getChars() 
 public int getChars(char[] chars,
    int offset,
    int cch) 
 public ChangeStamp getDocChangeStamp() 
 public Node getDomNode() 
 public QName getName() 
 public ChangeListener getNextChangeListener() 
 public XmlObject getObject() 
 public int getSelectionCount() 
 public String getTextValue() 
 public int getTextValue(char[] chars,
    int offset,
    int cch) 
 public boolean hasNextSelection() 
 public boolean hasNextToken() 
 public boolean hasPrevToken() 
 public  void insertAttribute(String localName) 
 public  void insertAttribute(QName name) 
 public  void insertAttribute(String localName,
    String uri) 
 public  void insertAttributeWithValue(String Name,
    String value) 
 public  void insertAttributeWithValue(QName name,
    String value) 
 public  void insertAttributeWithValue(String name,
    String uri,
    String value) 
 public  void insertChars(String text) 
 public  void insertComment(String text) 
 public  void insertElement(QName name) 
 public  void insertElement(String localName) 
 public  void insertElement(String localName,
    String uri) 
 public  void insertElementWithText(QName name,
    String text) 
 public  void insertElementWithText(String localName,
    String text) 
 public  void insertElementWithText(String localName,
    String uri,
    String text) 
 public  void insertNamespace(String prefix,
    String namespace) 
 public  void insertProcInst(String target,
    String text) 
 public boolean isAnyAttr() 
 public boolean isAtSamePositionAs(XmlCursor xOther) 
 public boolean isAttr() 
 public boolean isComment() 
 public boolean isContainer() 
 public boolean isEnd() 
 public boolean isEnddoc() 
 public boolean isFinish() 
 public boolean isInSameDocument(XmlCursor xOther) 
 public boolean isLeftOf(XmlCursor xOther) 
 public boolean isNamespace() 
 public boolean isProcinst() 
 public boolean isRightOf(XmlCursor xOther) 
 public boolean isStart() 
 public boolean isStartdoc() 
 public boolean isText() 
 Locale locale() 
 public Object monitor() 
 public int moveChars(int cch,
    XmlCursor xTo) 
 public boolean moveXml(XmlCursor xTo) 
 public boolean moveXmlContents(XmlCursor xTo) 
 public String namespaceForPrefix(String prefix) 
 public XmlCursor newCursor() 
 public static XmlCursor newCursor(Xobj x,
    int p) 
 public Node newDomNode() 
 public Node newDomNode(XmlOptions options) 
 public InputStream newInputStream() 
 public InputStream newInputStream(XmlOptions options) 
 public Reader newReader() 
 public Reader newReader(XmlOptions options) 
 public XMLInputStream newXMLInputStream() 
Deprecated! XMLInputStream - was deprecated by XMLStreamReader from STaX - jsr173 API.

 public XMLInputStream newXMLInputStream(XmlOptions options) 
Deprecated! XMLInputStream - was deprecated by XMLStreamReader from STaX - jsr173 API.

 public XMLStreamReader newXMLStreamReader() 
 public XMLStreamReader newXMLStreamReader(XmlOptions options) 
 public  void notifyChange() 
 public boolean pop() 
 public String prefixForNamespace(String namespaceURI) 
 public TokenType prevTokenType() 
 public  void push() 
 public boolean removeAttribute(QName attrName) 
 public int removeChars(int cch) 
 public boolean removeXml() 
 public boolean removeXmlContents() 
 public  void save(File file) throws IOException 
 public  void save(OutputStream os) throws IOException 
 public  void save(Writer w) throws IOException 
 public  void save(ContentHandler ch,
    LexicalHandler lh) throws SAXException 
 public  void save(File file,
    XmlOptions options) throws IOException 
 public  void save(OutputStream os,
    XmlOptions options) throws IOException 
 public  void save(Writer w,
    XmlOptions options) throws IOException 
 public  void save(ContentHandler ch,
    LexicalHandler lh,
    XmlOptions options) throws SAXException 
 public  void selectPath(String path) 
 public  void selectPath(String path,
    XmlOptions options) 
 public boolean setAttributeText(QName attrName,
    String value) 
 public  void setBookmark(XmlBookmark bookmark) 
 public  void setName(QName name) 
 public  void setNextChangeListener(ChangeListener listener) 
 public  void setTextValue(String text) 
 public  void setTextValue(char[] sourceChars,
    int offset,
    int length) 
 Cur tempCur() 
 public boolean toBookmark(XmlBookmark bookmark) 
 public boolean toChild(String name) 
 public boolean toChild(QName name) 
 public boolean toChild(int index) 
 public boolean toChild(String namespace,
    String name) 
 public boolean toChild(QName name,
    int index) 
 public boolean toCursor(XmlCursor xOther) 
 public  void toEndDoc() 
 public TokenType toEndToken() 
 public boolean toFirstAttribute() 
 public boolean toFirstChild() 
 public TokenType toFirstContentToken() 
 public boolean toLastAttribute() 
 public boolean toLastChild() 
 public boolean toNextAttribute() 
 public XmlBookmark toNextBookmark(Object key) 
 public int toNextChar(int cch) 
 public boolean toNextSelection() 
 public boolean toNextSibling() 
 public boolean toNextSibling(String name) 
 public boolean toNextSibling(QName name) 
 public boolean toNextSibling(String namespace,
    String name) 
 public TokenType toNextToken() 
 public boolean toParent() 
 public boolean toPrevAttribute() 
 public XmlBookmark toPrevBookmark(Object key) 
 public int toPrevChar(int cch) 
 public boolean toPrevSibling() 
 public TokenType toPrevToken() 
 public boolean toSelection(int i) 
 public  void toStartDoc() 
 static  void validateLocalName(QName name) 
 static  void validateLocalName(String name) 
 static  void validatePrefix(String name) 
 public String xmlText() 
 public String xmlText(XmlOptions options)