Java Doc for ContentList.java in  » Workflow-Engines » OpenWFE » org » jdom » 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 » Workflow Engines » OpenWFE » org.jdom 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.util.AbstractList
   org.jdom.ContentList

ContentList
final class ContentList extends AbstractList implements java.io.Serializable(Code)
A non-public list implementation holding only legal JDOM content, including content for Document or Element nodes. Users see this class as a simple List implementation.
See Also:   CDATA
See Also:   Comment
See Also:   Element
See Also:   EntityRef
See Also:   ProcessingInstruction
See Also:   Text
version:
   $Revision: 1.1 $, $Date: 2005/04/27 09:32:38 $
author:
   Alex Rosen
author:
   Philippe Riand
author:
   Bradley S. Huffman

Inner Class :class FilterList extends AbstractList implements java.io.Serializable
Inner Class :class FilterListIterator implements ListIterator


Constructor Summary
 ContentList(Parent parent)
    

Method Summary
public  voidadd(int index, Object obj)
     Inserts the specified object at the specified position in this list.
 voidadd(int index, Content child)
     Check and add the Element to this list at the given index.
public  booleanaddAll(Collection collection)
     Add the specified collecton to the end of this list.
Parameters:
  collection - The collection to add to the list.
public  booleanaddAll(int index, Collection collection)
     Inserts the specified collecton at the specified position in this list. Shifts the object currently at that position (if any) and any subsequent objects to the right (adds one to their indices).
Parameters:
  index - The offset to start adding the data in the collection
Parameters:
  collection - The collection to insert into the list.
public  voidclear()
     Clear the current list.
 voidclearAndSet(Collection collection)
     Clear the current list and set it to the contents of the Collection.
 voidensureCapacity(int minCapacity)
     Increases the capacity of this ContentList instance, if necessary, to ensure that it can hold at least the number of items specified by the minimum capacity argument.
public  Objectget(int index)
     Return the object at the specified offset.
Parameters:
  index - The offset of the object.
 ListgetView(Filter filter)
     Return a view of this list based on the given filter.
Parameters:
  filter - Filter for this view.
 intindexOfDocType()
     Return the index of the DocType element in the list.
 intindexOfFirstElement()
     Return the index of the first Element in the list.
public  Objectremove(int index)
     Remove the object at the specified offset.
Parameters:
  index - The offset of the object.
public  Objectset(int index, Object obj)
     Set the object at the specified location to the supplied object.
Parameters:
  index - The location to set the value to.
Parameters:
  obj - The location to set the value to.
public  intsize()
    
public  StringtoString()
    
final  voiduncheckedAddContent(Content c)
     Package internal method to support building from sources that are 100% trusted.


Constructor Detail
ContentList
ContentList(Parent parent)(Code)
Force either a Document or Element parent




Method Detail
add
public void add(int index, Object obj)(Code)
Inserts the specified object at the specified position in this list. Shifts the object currently at that position (if any) and any subsequent objects to the right (adds one to their indices).
Parameters:
  index - The location to set the value to.
Parameters:
  obj - The object to insert into the list.throws IndexOutOfBoundsException if index < 0 || index > size()



add
void add(int index, Content child)(Code)
Check and add the Element to this list at the given index.
Parameters:
  index - index where to add Element
Parameters:
  child - Element to add



addAll
public boolean addAll(Collection collection)(Code)
Add the specified collecton to the end of this list.
Parameters:
  collection - The collection to add to the list. true if the list was modified as a result ofthe add.



addAll
public boolean addAll(int index, Collection collection)(Code)
Inserts the specified collecton at the specified position in this list. Shifts the object currently at that position (if any) and any subsequent objects to the right (adds one to their indices).
Parameters:
  index - The offset to start adding the data in the collection
Parameters:
  collection - The collection to insert into the list. true if the list was modified as a result ofthe add.throws IndexOutOfBoundsException if index < 0 || index > size()



clear
public void clear()(Code)
Clear the current list.



clearAndSet
void clearAndSet(Collection collection)(Code)
Clear the current list and set it to the contents of the Collection. object.
Parameters:
  collection - The collection to use.



ensureCapacity
void ensureCapacity(int minCapacity)(Code)
Increases the capacity of this ContentList instance, if necessary, to ensure that it can hold at least the number of items specified by the minimum capacity argument.
Parameters:
  minCapacity - the desired minimum capacity.



get
public Object get(int index)(Code)
Return the object at the specified offset.
Parameters:
  index - The offset of the object. The Object which was returned.



getView
List getView(Filter filter)(Code)
Return a view of this list based on the given filter.
Parameters:
  filter - Filter for this view. a list representing the rules of the Filter.



indexOfDocType
int indexOfDocType()(Code)
Return the index of the DocType element in the list. If the list contains no DocType, it returns -1. index of the DocType, or -1 if it doesn'texist



indexOfFirstElement
int indexOfFirstElement()(Code)
Return the index of the first Element in the list. If the parent is a Document then the element is the root element. If the list contains no Elements, it returns -1. index of first element, or -1 if one doesn't exist



remove
public Object remove(int index)(Code)
Remove the object at the specified offset.
Parameters:
  index - The offset of the object. The Object which was removed.



set
public Object set(int index, Object obj)(Code)
Set the object at the specified location to the supplied object.
Parameters:
  index - The location to set the value to.
Parameters:
  obj - The location to set the value to. The object which was replaced.throws IndexOutOfBoundsException if index < 0 || index >= size()



size
public int size()(Code)
Return the number of items in this list The number of items in this list.



toString
public String toString()(Code)
Return this list as a String The number of items in this list.



uncheckedAddContent
final void uncheckedAddContent(Content c)(Code)
Package internal method to support building from sources that are 100% trusted.
Parameters:
  c - content to add without any checks



Fields inherited from java.util.AbstractList
protected transient int modCount(Code)(Java Doc)

Methods inherited from java.util.AbstractList
public boolean add(E e)(Code)(Java Doc)
public void add(int index, E element)(Code)(Java Doc)
public boolean addAll(int index, Collection<? extends E> c)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
abstract public E get(int index)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public int indexOf(Object o)(Code)(Java Doc)
public Iterator<E> iterator()(Code)(Java Doc)
public int lastIndexOf(Object o)(Code)(Java Doc)
public ListIterator<E> listIterator()(Code)(Java Doc)
public ListIterator<E> listIterator(int index)(Code)(Java Doc)
public E remove(int index)(Code)(Java Doc)
protected void removeRange(int fromIndex, int toIndex)(Code)(Java Doc)
public E set(int index, E element)(Code)(Java Doc)
public List<E> subList(int fromIndex, int toIndex)(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.