Java Doc for TreeList.java in  » Scripting » Kawa » gnu » lists » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » Kawa » gnu.lists 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   gnu.lists.AbstractSequence
      gnu.lists.TreeList

All known Subclasses:   gnu.mapping.Values,  gnu.xml.NodeTree,
TreeList
public class TreeList extends AbstractSequence implements XConsumer,PositionConsumer,Consumable(Code)
A compact representation of a tree, that is a nested list structure. The data structure can store anything that can be emitted to a Consumer. This data structure is optimized for efficient forwards traversal through the data structure, not random access. It does have an "insertion point"; insertions and deletions are efficient through the use of a buffer gap. It is a reasonable choice for a "DOM" for XML data.


Field Summary
final protected static  intBEGIN_ATTRIBUTE_LONG
     The beginning of an attribute. [BEGIN_ATTRIBUTE_LONG] [index], 2 shorts, where objects[index] is the attribute type name and objects[index+1] is the attribute type object. [end_offset], 2 shorts, giving the location of the following END_ATTRIBUTE.
final public static  intBEGIN_ATTRIBUTE_LONG_SIZE
    
final protected static  intBEGIN_DOCUMENT
     Beginning of a document (or top-level value). Used to distinguish a document from its element node. [end_offset], 2 shorts, giving the location of the following END_DOCUMENT.
final protected static  intBEGIN_ELEMENT_LONG
     Begin of an element, non-compact form. [BEGIN_ELEMENT_LONG] [end_offset], in 2 shorts.
final protected static  intBEGIN_ELEMENT_SHORT
     Beginning of an element, compact form. [BEGIN_ELEMENT_SHORT + index], where objects[index] is the element's type name and objects[index+1] is the type object. [end_offset], the unsigned offset (from the initial word) to the corresponding END_ELEMENT_SHORT. [parent_offset], the (unsigned absolute value of the) offset to the outer BEGIN_ELEMENT_SHORT/BEGIN_ELEMENT_LONG/BEGIN_DOCUMENT. .
final protected static  intBEGIN_ELEMENT_SHORT_INDEX_MAX
    
final public static  intBEGIN_ENTITY
     End of an entity (typically a file, possibly included).
final public static  intBEGIN_ENTITY_SIZE
    
final static  charBOOL_FALSE
     The value used to encode false.
final static  charBOOL_TRUE
     The value used to encode true.
final static  intBYTE_PREFIX
     Encoding prefix that indicates a byte value.
final static  intCDATA_SECTION
     A CDATA node follows.
final static  intCHAR_FOLLOWS
     A 16-bit (non-compact) Unicode char follows.
final static  intCOMMENT
     A comment node follows.
final protected static  intDOCUMENT_URI
     The document-uri property of a node. This is not an actual value, but it is a property of the previous document node, or the surrounding node just after a BEGIN_XXX entry. [DOCUMENT_URI] [index].
final static  intDOUBLE_FOLLOWS
     A 64-bit double floating-pointer number.
final static  intEND_ATTRIBUTE
     The end of an attribute of a node.
final public static  intEND_ATTRIBUTE_SIZE
    
final protected static  intEND_DOCUMENT
     End of a document.
final protected static  intEND_ELEMENT_LONG
     End of n element, non-compact form. [END_ELEMENT_LONG] [index], 2 shorts where objects[index] is the element's type name and objects[index+1] is the type object. [begin_offset], in 2 shorts.
final protected static  intEND_ELEMENT_SHORT
     End of an element, compact form. [END_ELEMENT_SHORT] [begin_offset], the unsigned absolute value of the offset to the matching BEGIN.
final protected static  intEND_ENTITY
    
final static  intFLOAT_FOLLOWS
     A 64-bit float floating-pointer number.
final public static  intINT_FOLLOWS
     A 32-bit integer, non-compact form.
final static  intINT_SHORT_ZERO
     The value used to encode the integer zero.
final static  intJOINER
     Suppress spacing between non-node items.
final static  intLONG_FOLLOWS
     A 64-bit long integer.
final public static  intMAX_CHAR_SHORT
     The largest Unicode character that can be encoded in one char.
final static  intMAX_INT_SHORT
     The largest integer that can use the short int encoding.
final static  intMIN_INT_SHORT
     The smallest integer that can use the short int encoding.
final static  charOBJECT_REF_FOLLOWS
     Followed by 2 chars that provide an index into objects.
final static  intOBJECT_REF_SHORT
     The value used to encode the object in objects[0].
final static  intOBJECT_REF_SHORT_INDEX_MAX
     The maximum offset in the objects array for a short object-ref.
final protected static  charPOSITION_PAIR_FOLLOWS
     A position triple referenceing some other "nodes". Followed by index of sequence (2 chars), and ipos (2 chars).
final static  charPOSITION_REF_FOLLOWS
     Followed by 2 chars that provide an index into objects.
final protected static  intPROCESSING_INSTRUCTION
     A processing-instruction node follows.
public  intattrStart
     If non-zero, gap is in an attribute starting (1 less than) here.
 intcurrentParent
    
public  char[]data
    
public  intdocStart
     If non-zero, gap is in an document starting (1 less than) here.
public  intgapEnd
    
public  intgapStart
    
public  Object[]objects
    
public  intoindex
    

Constructor Summary
public  TreeList()
    
public  TreeList(TreeList list, int startPosition, int endPosition)
     Make a copy of a sub-range of a TreeList.
public  TreeList(TreeList list)
    

Method Summary
public  Consumerappend(char c)
    
public  Consumerappend(CharSequence csq)
    
public  Consumerappend(CharSequence csq, int start, int end)
    
public  voidbeginEntity(Object base)
    
public  voidclear()
    
public  intcompare(int ipos1, int ipos2)
     Compare two positions, and indicate their relative order.
public  voidconsume(SeqPosition position)
    
public  voidconsume(Consumer out)
    
public  intconsumeIRange(int startPosition, int endPosition, Consumer out)
    
public  booleanconsumeNext(int ipos, Consumer out)
    
public  voidconsumePosRange(int startPos, int endPos, Consumer out)
    
public  intcreatePos(int index, boolean isAfter)
    
public  intcreateRelativePos(int istart, int offset, boolean isAfter)
    
public  ObjectdocumentUriOfPos(int pos)
    
public  voiddump()
    
public  voiddump(java.io.PrintWriter out)
    
public  voiddump(java.io.PrintWriter out, int start, int limit)
    
public  voidendAttribute()
    
public  voidendDocument()
    
public  voidendElement()
    
public  voidendEntity()
    
public  voidensureSpace(int needed)
    
public  intfind(Object arg1)
    
public  intfirstAttributePos(int ipos)
    
public  intfirstChildPos(int ipos)
    
public  Objectget(int index)
    
public  intgetAttributeCount(int parent)
    
protected  intgetIndexDifference(int ipos1, int ipos0)
    
final protected  intgetIntN(int index)
     Get a 32-bit int from the data array.
final protected  longgetLongN(int index)
     Get a 64-bit long from the data array.
public  intgetNextKind(int ipos)
    
public  intgetNextKindI(int index)
    
public  StringgetNextTypeName(int ipos)
    
public  ObjectgetNextTypeObject(int ipos)
    
public  ObjectgetPosNext(int ipos)
    
public  intgetPosNextInt(int ipos)
     Return following value (like getPosNext), as an integer.
public  ObjectgetPosPrevious(int ipos)
    
public  booleangotoAttributesStart(TreePosition pos)
    
public  intgotoAttributesStart(int index)
    
final public  intgotoChildrenStart(int index)
    
public  booleanhasNext(int ipos)
    
public  inthashCode()
    
public  booleanignoring()
    
public  booleanisEmpty()
    
final public  intnextDataIndex(int pos)
    
public  intnextMatching(int startPos, ItemPredicate predicate, int endPos, boolean descend)
    
final public  intnextNodeIndex(int pos, int limit)
     Skip all primitive content nodes.
public  intnextPos(int position)
    
public  intparentOrEntityI(int index)
    
public  intparentOrEntityPos(int ipos)
    
public  intparentPos(int ipos)
    
final public  intposToDataIndex(int ipos)
    
final public  voidresizeObjects()
    
public  voidsetAttributeName(int attrIndex, int nameIndex)
    
public  voidsetElementName(int elementIndex, int nameIndex)
    
final public  voidsetIntN(int index, int i)
    
public  intsize()
    
public  voidstartAttribute(Object attrType)
    
public  voidstartAttribute(int index)
    
public  voidstartDocument()
    
public  voidstartElement(Object type)
    
public  voidstartElement(int index)
    
public  voidstatistics()
    
public  voidstatistics(java.io.PrintWriter out)
    
public  voidstringValue(int startIndex, int endIndex, StringBuffer sbuf)
    
public  intstringValue(int index, StringBuffer sbuf)
    
public  intstringValue(boolean inElement, int index, StringBuffer sbuf)
    
public  voidtoString(String sep, StringBuffer sbuf)
    
public  voidwrite(int c)
    
public  voidwrite(char[] buf, int off, int len)
    
public  voidwrite(String str)
    
public  voidwrite(CharSequence str, int start, int length)
    
public  voidwriteBoolean(boolean v)
    
public  voidwriteByte(int v)
    
public  voidwriteCDATA(char[] chars, int offset, int length)
    
public  voidwriteComment(char[] chars, int offset, int length)
    
public  voidwriteComment(String comment, int offset, int length)
    
public  voidwriteDocumentUri(Object uri)
     Write/set the document-uri property of the current document. Only allowed immediately following startDocument.
public  voidwriteDouble(double v)
    
public  voidwriteFloat(float v)
    
public  voidwriteInt(int v)
    
public  voidwriteJoiner()
    
public  voidwriteLong(long v)
    
public  voidwriteObject(Object v)
    
public  voidwritePosition(AbstractSequence seq, int ipos)
    
public  voidwriteProcessingInstruction(String target, char[] content, int offset, int length)
    
public  voidwriteProcessingInstruction(String target, String content, int offset, int length)
    

Field Detail
BEGIN_ATTRIBUTE_LONG
final protected static int BEGIN_ATTRIBUTE_LONG(Code)
The beginning of an attribute. [BEGIN_ATTRIBUTE_LONG] [index], 2 shorts, where objects[index] is the attribute type name and objects[index+1] is the attribute type object. [end_offset], 2 shorts, giving the location of the following END_ATTRIBUTE. If the attribute straddles the gap, then end_offset is a negative offset relative to data.length. (Therefore allocating more space for the gap does not require adjusting end_offset.) Otherwise, the end_offset is relative to the BEGIN_ATTRIBUTE_LONG word.



BEGIN_ATTRIBUTE_LONG_SIZE
final public static int BEGIN_ATTRIBUTE_LONG_SIZE(Code)



BEGIN_DOCUMENT
final protected static int BEGIN_DOCUMENT(Code)
Beginning of a document (or top-level value). Used to distinguish a document from its element node. [end_offset], 2 shorts, giving the location of the following END_DOCUMENT. If the attribute straddles the gap, then end_offset is a negative offset relative to data.length. (Therefore allocating more space for the gap does not require adjusting end_offset.) Otherwise, the end_offset is relative to the BEGIN_DOCUMENT word. [parent_offset], in 2 shorts. The parent node, or -1 if no parent. Otherwise, a negative value is a relative offset, while a non-negative value is absolute. (Use the latter when gap is between this node and its parent. The parent would normally be a BEGIN_ENTITY.



BEGIN_ELEMENT_LONG
final protected static int BEGIN_ELEMENT_LONG(Code)
Begin of an element, non-compact form. [BEGIN_ELEMENT_LONG] [end_offset], in 2 shorts. The position of the matching END_ELEMENT_LONG. If the element straddles the gap, then end_offset is a negative offset relative to data.length. (Therefore allocating more space for the gap does not require adjusting any end_offset.) If the element and and its children are all on the same side of the gap, then end_offset is a positive offset relative to the BEGIN_ELEMENT_LONG word. (Hence shifting an entire element when the gap is moved does not require changing its end_offset.) Note that the space taken by a BEGIN_ELEMENT_LONG is the same that needed for a BEGIN_ELEMENT_SHORT (but a END_ELEMENT_LONG takes much more space than a END_ELEMENT_SHORT). This is to make it easier to convert a BEGIN_ELEMENT_LONG to a BEGIN_ELEMENT_SHORT or vice versa, as needed.



BEGIN_ELEMENT_SHORT
final protected static int BEGIN_ELEMENT_SHORT(Code)
Beginning of an element, compact form. [BEGIN_ELEMENT_SHORT + index], where objects[index] is the element's type name and objects[index+1] is the type object. [end_offset], the unsigned offset (from the initial word) to the corresponding END_ELEMENT_SHORT. [parent_offset], the (unsigned absolute value of the) offset to the outer BEGIN_ELEMENT_SHORT/BEGIN_ELEMENT_LONG/BEGIN_DOCUMENT. . (If these is no parent, then parent_offset==0.) This should is used when index < BEGIN_ELEMENT_SHORT_INDEX_MAX, both end_offset and parent_offset fit in 16 bits, and the element does not straddle the gap.



BEGIN_ELEMENT_SHORT_INDEX_MAX
final protected static int BEGIN_ELEMENT_SHORT_INDEX_MAX(Code)



BEGIN_ENTITY
final public static int BEGIN_ENTITY(Code)
End of an entity (typically a file, possibly included). [base_uri], 2 short, given an index of a base-uri object [parent_offset], in 2 shorts, encoded as for BEGIN_DOCUMENT.



BEGIN_ENTITY_SIZE
final public static int BEGIN_ENTITY_SIZE(Code)



BOOL_FALSE
final static char BOOL_FALSE(Code)
The value used to encode false.



BOOL_TRUE
final static char BOOL_TRUE(Code)
The value used to encode true.



BYTE_PREFIX
final static int BYTE_PREFIX(Code)
Encoding prefix that indicates a byte value.



CDATA_SECTION
final static int CDATA_SECTION(Code)
A CDATA node follows. [CDATA_SECTION] [length] 2 shorts [comment text], (length) number of characters.



CHAR_FOLLOWS
final static int CHAR_FOLLOWS(Code)
A 16-bit (non-compact) Unicode char follows.



COMMENT
final static int COMMENT(Code)
A comment node follows. [COMMENT] [length] 2 shorts [comment text], (length) number of characters.



DOCUMENT_URI
final protected static int DOCUMENT_URI(Code)
The document-uri property of a node. This is not an actual value, but it is a property of the previous document node, or the surrounding node just after a BEGIN_XXX entry. [DOCUMENT_URI] [index]. 2 shorts, where objects[index] is the document-uri value.



DOUBLE_FOLLOWS
final static int DOUBLE_FOLLOWS(Code)
A 64-bit double floating-pointer number. [DOUBLE_FOLLOWS] [word1], [word2], [word3], [word4]: The big-endian bits of the double.



END_ATTRIBUTE
final static int END_ATTRIBUTE(Code)
The end of an attribute of a node.



END_ATTRIBUTE_SIZE
final public static int END_ATTRIBUTE_SIZE(Code)



END_DOCUMENT
final protected static int END_DOCUMENT(Code)
End of a document.



END_ELEMENT_LONG
final protected static int END_ELEMENT_LONG(Code)
End of n element, non-compact form. [END_ELEMENT_LONG] [index], 2 shorts where objects[index] is the element's type name and objects[index+1] is the type object. [begin_offset], in 2 shorts. The position of the matching BEGIN_ELEMENT_LONG. If the element straddles the gap, then begin_offset is the actual index (i.e. relative to the start of data) of the matching BEGIN_ELEMENT_LONG. (Therefore allocating more space for the gap does not require adjusting begin_offset.) If the element does not straddle the gap, then begin_offset is a negative offset relative to the END_ELEMENT_LONG word. (Hence shifting an entire element when the gap is moved does not require changing its begin_offset.) relative to data.length. [parent_offset], in 2 shorts. The position of the outer BEGIN_ELEMENT_LONG, BEGIN_ELEMENT_SHORT or BEGIN_DOCUMENT. If the difference straddles the gap (i.e. either this element straddles the gap or the parent element does and the gap precedes this element), then parent_offset is the actual index of the parent element. Otherwise, then parent_offset is a negative offset relative to the END_ELEMENT_LONG word.



END_ELEMENT_SHORT
final protected static int END_ELEMENT_SHORT(Code)
End of an element, compact form. [END_ELEMENT_SHORT] [begin_offset], the unsigned absolute value of the offset to the matching BEGIN. (This is the same as the matching end_offset.)



END_ENTITY
final protected static int END_ENTITY(Code)



FLOAT_FOLLOWS
final static int FLOAT_FOLLOWS(Code)
A 64-bit float floating-pointer number. [FLOAT_FOLLOWS] [word1], [word2]: The big-endian bits of the float.



INT_FOLLOWS
final public static int INT_FOLLOWS(Code)
A 32-bit integer, non-compact form. [INT_FOLLOWS] [word1], [word2]: The big-endian bits of the integer.



INT_SHORT_ZERO
final static int INT_SHORT_ZERO(Code)
The value used to encode the integer zero.



JOINER
final static int JOINER(Code)
Suppress spacing between non-node items.



LONG_FOLLOWS
final static int LONG_FOLLOWS(Code)
A 64-bit long integer. [LONG_FOLLOWS] [word1], [word2], [word3], [word4]: The big-endian bits of the long.



MAX_CHAR_SHORT
final public static int MAX_CHAR_SHORT(Code)
The largest Unicode character that can be encoded in one char.



MAX_INT_SHORT
final static int MAX_INT_SHORT(Code)
The largest integer that can use the short int encoding.



MIN_INT_SHORT
final static int MIN_INT_SHORT(Code)
The smallest integer that can use the short int encoding.



OBJECT_REF_FOLLOWS
final static char OBJECT_REF_FOLLOWS(Code)
Followed by 2 chars that provide an index into objects.



OBJECT_REF_SHORT
final static int OBJECT_REF_SHORT(Code)
The value used to encode the object in objects[0].



OBJECT_REF_SHORT_INDEX_MAX
final static int OBJECT_REF_SHORT_INDEX_MAX(Code)
The maximum offset in the objects array for a short object-ref.



POSITION_PAIR_FOLLOWS
final protected static char POSITION_PAIR_FOLLOWS(Code)
A position triple referenceing some other "nodes". Followed by index of sequence (2 chars), and ipos (2 chars).



POSITION_REF_FOLLOWS
final static char POSITION_REF_FOLLOWS(Code)
Followed by 2 chars that provide an index into objects.



PROCESSING_INSTRUCTION
final protected static int PROCESSING_INSTRUCTION(Code)
A processing-instruction node follows. [PROCESSING_INSTRUCTION] [target] 2 shorts, where objects[target] is the target as a String. [length] 2 shorts. [comment text], (length) number of characters.



attrStart
public int attrStart(Code)
If non-zero, gap is in an attribute starting (1 less than) here.



currentParent
int currentParent(Code)



data
public char[] data(Code)



docStart
public int docStart(Code)
If non-zero, gap is in an document starting (1 less than) here.



gapEnd
public int gapEnd(Code)



gapStart
public int gapStart(Code)



objects
public Object[] objects(Code)



oindex
public int oindex(Code)




Constructor Detail
TreeList
public TreeList()(Code)



TreeList
public TreeList(TreeList list, int startPosition, int endPosition)(Code)
Make a copy of a sub-range of a TreeList.
Parameters:
  list - the TreeList to copy
Parameters:
  startPosition - start of range, as a raw index in data
Parameters:
  endPosition - end of range, as a raw index in data



TreeList
public TreeList(TreeList list)(Code)




Method Detail
append
public Consumer append(char c)(Code)



append
public Consumer append(CharSequence csq)(Code)



append
public Consumer append(CharSequence csq, int start, int end)(Code)



beginEntity
public void beginEntity(Object base)(Code)



clear
public void clear()(Code)



compare
public int compare(int ipos1, int ipos2)(Code)
Compare two positions, and indicate their relative order.



consume
public void consume(SeqPosition position)(Code)



consume
public void consume(Consumer out)(Code)



consumeIRange
public int consumeIRange(int startPosition, int endPosition, Consumer out)(Code)



consumeNext
public boolean consumeNext(int ipos, Consumer out)(Code)



consumePosRange
public void consumePosRange(int startPos, int endPos, Consumer out)(Code)



createPos
public int createPos(int index, boolean isAfter)(Code)



createRelativePos
public int createRelativePos(int istart, int offset, boolean isAfter)(Code)



documentUriOfPos
public Object documentUriOfPos(int pos)(Code)



dump
public void dump()(Code)



dump
public void dump(java.io.PrintWriter out)(Code)



dump
public void dump(java.io.PrintWriter out, int start, int limit)(Code)



endAttribute
public void endAttribute()(Code)



endDocument
public void endDocument()(Code)



endElement
public void endElement()(Code)



endEntity
public void endEntity()(Code)



ensureSpace
public void ensureSpace(int needed)(Code)



find
public int find(Object arg1)(Code)



firstAttributePos
public int firstAttributePos(int ipos)(Code)



firstChildPos
public int firstChildPos(int ipos)(Code)



get
public Object get(int index)(Code)



getAttributeCount
public int getAttributeCount(int parent)(Code)



getIndexDifference
protected int getIndexDifference(int ipos1, int ipos0)(Code)



getIntN
final protected int getIntN(int index)(Code)
Get a 32-bit int from the data array.



getLongN
final protected long getLongN(int index)(Code)
Get a 64-bit long from the data array.



getNextKind
public int getNextKind(int ipos)(Code)



getNextKindI
public int getNextKindI(int index)(Code)



getNextTypeName
public String getNextTypeName(int ipos)(Code)



getNextTypeObject
public Object getNextTypeObject(int ipos)(Code)



getPosNext
public Object getPosNext(int ipos)(Code)



getPosNextInt
public int getPosNextInt(int ipos)(Code)
Return following value (like getPosNext), as an integer.



getPosPrevious
public Object getPosPrevious(int ipos)(Code)



gotoAttributesStart
public boolean gotoAttributesStart(TreePosition pos)(Code)



gotoAttributesStart
public int gotoAttributesStart(int index)(Code)



gotoChildrenStart
final public int gotoChildrenStart(int index)(Code)



hasNext
public boolean hasNext(int ipos)(Code)



hashCode
public int hashCode()(Code)



ignoring
public boolean ignoring()(Code)



isEmpty
public boolean isEmpty()(Code)



nextDataIndex
final public int nextDataIndex(int pos)(Code)



nextMatching
public int nextMatching(int startPos, ItemPredicate predicate, int endPos, boolean descend)(Code)



nextNodeIndex
final public int nextNodeIndex(int pos, int limit)(Code)
Skip all primitive content nodes.



nextPos
public int nextPos(int position)(Code)



parentOrEntityI
public int parentOrEntityI(int index)(Code)



parentOrEntityPos
public int parentOrEntityPos(int ipos)(Code)



parentPos
public int parentPos(int ipos)(Code)



posToDataIndex
final public int posToDataIndex(int ipos)(Code)



resizeObjects
final public void resizeObjects()(Code)



setAttributeName
public void setAttributeName(int attrIndex, int nameIndex)(Code)



setElementName
public void setElementName(int elementIndex, int nameIndex)(Code)



setIntN
final public void setIntN(int index, int i)(Code)



size
public int size()(Code)



startAttribute
public void startAttribute(Object attrType)(Code)



startAttribute
public void startAttribute(int index)(Code)



startDocument
public void startDocument()(Code)



startElement
public void startElement(Object type)(Code)



startElement
public void startElement(int index)(Code)



statistics
public void statistics()(Code)



statistics
public void statistics(java.io.PrintWriter out)(Code)



stringValue
public void stringValue(int startIndex, int endIndex, StringBuffer sbuf)(Code)



stringValue
public int stringValue(int index, StringBuffer sbuf)(Code)



stringValue
public int stringValue(boolean inElement, int index, StringBuffer sbuf)(Code)



toString
public void toString(String sep, StringBuffer sbuf)(Code)



write
public void write(int c)(Code)



write
public void write(char[] buf, int off, int len)(Code)



write
public void write(String str)(Code)



write
public void write(CharSequence str, int start, int length)(Code)



writeBoolean
public void writeBoolean(boolean v)(Code)



writeByte
public void writeByte(int v)(Code)



writeCDATA
public void writeCDATA(char[] chars, int offset, int length)(Code)



writeComment
public void writeComment(char[] chars, int offset, int length)(Code)



writeComment
public void writeComment(String comment, int offset, int length)(Code)



writeDocumentUri
public void writeDocumentUri(Object uri)(Code)
Write/set the document-uri property of the current document. Only allowed immediately following startDocument.



writeDouble
public void writeDouble(double v)(Code)



writeFloat
public void writeFloat(float v)(Code)



writeInt
public void writeInt(int v)(Code)



writeJoiner
public void writeJoiner()(Code)



writeLong
public void writeLong(long v)(Code)



writeObject
public void writeObject(Object v)(Code)



writePosition
public void writePosition(AbstractSequence seq, int ipos)(Code)



writeProcessingInstruction
public void writeProcessingInstruction(String target, char[] content, int offset, int length)(Code)



writeProcessingInstruction
public void writeProcessingInstruction(String target, String content, int offset, int length)(Code)



Methods inherited from gnu.lists.AbstractSequence
public boolean add(Object o)(Code)(Java Doc)
public void add(int index, Object o)(Code)(Java Doc)
public boolean addAll(Collection c)(Code)(Java Doc)
public boolean addAll(int index, Collection c)(Code)(Java Doc)
protected int addPos(int ipos, Object value)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public int compare(int ipos1, int ipos2)(Code)(Java Doc)
final public int compare(SeqPosition i1, SeqPosition i2)(Code)(Java Doc)
public static int compare(AbstractSequence seq1, int pos1, AbstractSequence seq2, int pos2)(Code)(Java Doc)
public void consume(Consumer out)(Code)(Java Doc)
public boolean consumeNext(int ipos, Consumer out)(Code)(Java Doc)
public void consumePosRange(int iposStart, int iposEnd, Consumer out)(Code)(Java Doc)
public boolean contains(Object o)(Code)(Java Doc)
public boolean containsAll(Collection c)(Code)(Java Doc)
public int copyPos(int ipos)(Code)(Java Doc)
abstract public int createPos(int index, boolean isAfter)(Code)(Java Doc)
public int createRelativePos(int pos, int delta, boolean isAfter)(Code)(Java Doc)
final public Enumeration elements()(Code)(Java Doc)
public int endPos()(Code)(Java Doc)
public boolean equals(int ipos1, int ipos2)(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public void fill(Object value)(Code)(Java Doc)
public void fill(int fromIndex, int toIndex, Object value)(Code)(Java Doc)
public void fillPosRange(int fromPos, int toPos, Object value)(Code)(Java Doc)
public int firstAttributePos(int ipos)(Code)(Java Doc)
public int firstChildPos(int ipos)(Code)(Java Doc)
public int firstChildPos(int ipos, ItemPredicate predicate)(Code)(Java Doc)
protected int fromEndIndex(int ipos)(Code)(Java Doc)
abstract public Object get(int index)(Code)(Java Doc)
public Object get(int[] indexes)(Code)(Java Doc)
public Object getAttribute(int index)(Code)(Java Doc)
public int getAttributeLength()(Code)(Java Doc)
protected int getContainingSequenceSize(int ipos)(Code)(Java Doc)
public int getEffectiveIndex(int[] indexes)(Code)(Java Doc)
protected int getIndexDifference(int ipos1, int ipos0)(Code)(Java Doc)
final public SeqPosition getIterator()(Code)(Java Doc)
public SeqPosition getIterator(int index)(Code)(Java Doc)
public SeqPosition getIteratorAtPos(int ipos)(Code)(Java Doc)
public int getLowBound(int dim)(Code)(Java Doc)
public int getNextKind(int ipos)(Code)(Java Doc)
public String getNextTypeName(int ipos)(Code)(Java Doc)
public Object getNextTypeObject(int ipos)(Code)(Java Doc)
public Object getPosNext(int ipos)(Code)(Java Doc)
public Object getPosPrevious(int ipos)(Code)(Java Doc)
public int getSize(int dim)(Code)(Java Doc)
protected boolean gotoAttributesStart(TreePosition pos)(Code)(Java Doc)
final public boolean gotoChildrenStart(TreePosition pos)(Code)(Java Doc)
protected boolean gotoParent(TreePosition pos)(Code)(Java Doc)
public boolean hasNext(int ipos)(Code)(Java Doc)
protected boolean hasPrevious(int ipos)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public int indexOf(Object o)(Code)(Java Doc)
protected boolean isAfterPos(int ipos)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
final public Iterator iterator()(Code)(Java Doc)
public int lastIndexOf(Object o)(Code)(Java Doc)
final public ListIterator listIterator()(Code)(Java Doc)
final public ListIterator listIterator(int index)(Code)(Java Doc)
protected int nextIndex(int ipos)(Code)(Java Doc)
final public int nextIndex(SeqPosition pos)(Code)(Java Doc)
public int nextMatching(int startPos, ItemPredicate type, int endPos, boolean descend)(Code)(Java Doc)
public int nextPos(int ipos)(Code)(Java Doc)
public int parentPos(int ipos)(Code)(Java Doc)
public int previousPos(int ipos)(Code)(Java Doc)
public int rank()(Code)(Java Doc)
protected void releasePos(int ipos)(Code)(Java Doc)
public Object remove(int index)(Code)(Java Doc)
public boolean remove(Object o)(Code)(Java Doc)
public boolean removeAll(Collection c)(Code)(Java Doc)
public void removePos(int ipos, int count)(Code)(Java Doc)
protected void removePosRange(int ipos0, int ipos1)(Code)(Java Doc)
public boolean retainAll(Collection c)(Code)(Java Doc)
public Object set(int[] indexes, Object value)(Code)(Java Doc)
public Object set(int index, Object element)(Code)(Java Doc)
protected void setPosNext(int ipos, Object value)(Code)(Java Doc)
protected void setPosPrevious(int ipos, Object value)(Code)(Java Doc)
abstract public int size()(Code)(Java Doc)
public int stableCompare(AbstractSequence other)(Code)(Java Doc)
public int startPos()(Code)(Java Doc)
public List subList(int fromIx, int toIx)(Code)(Java Doc)
public Sequence subSequence(SeqPosition start, SeqPosition end)(Code)(Java Doc)
protected Sequence subSequencePos(int ipos0, int ipos1)(Code)(Java Doc)
public Object[] toArray()(Code)(Java Doc)
public Object[] toArray(Object[] arr)(Code)(Java Doc)
public void toString(String sep, StringBuffer sbuf)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
protected RuntimeException unsupported(String text)(Code)(Java Doc)
public static RuntimeException unsupportedException(String text)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.