|
XML Parser for Java 1.1.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--com.ibm.xml.xpointer.Pointed
Pointed provides support for strings or Nodes being pointed to by an XPointer.
Inner Class Summary | |
static class |
Pointed.Item
Item provides support for an individual string or Node being pointed to by an XPointer. |
Field Summary | |
static int |
T_NODE
|
static int |
T_STRING
|
static int |
T_STRINGINNODE
|
Fields inherited from class java.util.Vector |
capacityIncrement,
elementCount,
elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
Pointed()
|
Method Summary | |
boolean |
add(Node node)
Add that a Node is being pointed to by an XPointer. |
boolean |
add(Node node,
java.lang.String string,
int offset,
int length)
Add that a string in a Node is being pointed to by an XPointer. |
boolean |
add(java.lang.String string)
Add that a string is being pointed to by an XPointer. |
Pointed.Item |
item(int index)
Returns an individual string or Node being pointed to by an XPointer. |
Methods inherited from class java.util.Vector |
add,
add,
addAll,
addAll,
addElement,
capacity,
clear,
clone,
contains,
containsAll,
copyInto,
elementAt,
elements,
ensureCapacity,
equals,
firstElement,
get,
hashCode,
indexOf,
indexOf,
insertElementAt,
isEmpty,
lastElement,
lastIndexOf,
lastIndexOf,
remove,
remove,
removeAll,
removeAllElements,
removeElement,
removeElementAt,
removeRange,
retainAll,
set,
setElementAt,
setSize,
size,
subList,
toArray,
toArray,
toString,
trimToSize |
Methods inherited from class java.util.AbstractList |
iterator,
listIterator,
listIterator |
Methods inherited from class java.lang.Object |
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int T_NODE
public static final int T_STRINGINNODE
public static final int T_STRING
Constructor Detail |
public Pointed()
Method Detail |
public boolean add(Node node, java.lang.String string, int offset, int length)
node
- Node being pointed to.string
- String being pointed to.offset
- 0-based offset into string being pointed to.length
- Length of string being pointed to.=true
if pointer added; =false
if pointer already exists.public boolean add(Node node)
node
- Node being pointed to.=true
if pointer added; =false
if pointer already exists.public boolean add(java.lang.String string)
string
- String being pointed to.=true
if pointer added; =false
if pointer already exists.public Pointed.Item item(int index) throws java.lang.ArrayIndexOutOfBoundsException
index
- Index into the Vector of pointers to strings and Nodes.
|
XML Parser for Java 1.1.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |