Package | Description |
---|---|
com.caucho.relaxng | |
com.caucho.relaxng.pattern | |
com.caucho.relaxng.program |
Modifier and Type | Method and Description |
---|---|
Item |
SchemaImpl.getStartItem()
Returns the program.
|
Item |
ParseState.pop() |
Modifier and Type | Method and Description |
---|---|
LruCache<java.lang.Object,Item> |
SchemaImpl.getProgramCache() |
Modifier and Type | Method and Description |
---|---|
void |
ParseState.push(Item next) |
Modifier and Type | Method and Description |
---|---|
Item |
RefPattern.createItem(GrammarPattern grammar)
Creates the item.
|
Item |
InterleavePattern.createItem(GrammarPattern grammar)
Creates the production item.
|
Item |
ChoicePattern.createItem(GrammarPattern grammar)
Creates the production item.
|
Item |
DataPattern.createItem(GrammarPattern grammar)
Creates the program (somewhat bogus)
|
Item |
EmptyPattern.createItem(GrammarPattern grammar)
Creates the program (somewhat bogus)
|
Item |
ElementPattern.createItem(GrammarPattern grammar)
Creates the item, i.e.
|
Item |
TextPattern.createItem(GrammarPattern grammar)
Creates the program (somewhat bogus)
|
Item |
AttributePattern.createItem(GrammarPattern grammar)
Creates the program (somewhat bogus)
|
Item |
Pattern.createItem(GrammarPattern grammar)
Creates the current state
|
Item |
ZeroOrMorePattern.createItem(GrammarPattern grammar)
Creates the production item.
|
Item |
GroupPattern.createItem(GrammarPattern grammar)
Creates the production item.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeItem
Generates programs from patterns.
|
class |
ChoiceItem
Generates programs from patterns.
|
class |
DataItem
Represents generaic text.
|
class |
ElementItem
Generates programs from patterns.
|
class |
EmptyItem
Generates programs from patterns.
|
class |
GroupItem
Generates programs from patterns.
|
class |
InElementItem
Represents a match inside an element with a continuation.
|
class |
InterleaveItem
Generates programs from patterns.
|
class |
MemoItem
Generates programs from patterns.
|
class |
TextItem
Generates programs from patterns.
|
class |
ZeroOrMoreItem
Generates programs from patterns.
|
Modifier and Type | Method and Description |
---|---|
Item |
Item.attributeEnd()
Returns true if the item can match empty.
|
Item |
MemoItem.attributeEnd()
Returns true if the item can match empty.
|
Item |
GroupItem.attributeEnd()
Returns the next item after the attributes end.
|
Item |
InElementItem.attributeEnd()
Returns true if the element is allowed to end here.
|
Item |
ChoiceItem.attributeEnd()
Returns true if the item can match empty.
|
Item |
InterleaveItem.attributeEnd()
Returns true if the item can match empty.
|
Item |
AttributeItem.attributeEnd()
Returns the item after the attribute ends.
|
static Item |
GroupItem.create(Item first,
Item second) |
static Item |
ChoiceItem.create(Item left,
Item right) |
static Item |
InterleaveItem.create(Item left,
Item right) |
Item |
Item.endElement()
Returns the next item when the element closes
|
Item |
MemoItem.endElement()
Returns the next item when the element closes
|
Item |
InElementItem.endElement()
Returns the next item when the element is completes.
|
Item |
ChoiceItem.endElement()
Returns the next item when the element closes
|
Item |
InElementItem.getContinuationItem() |
Item |
InElementItem.getElementItem() |
Item |
InElementItem.getFirst() |
Item |
ZeroOrMoreItem.getItem()
Returns the item.
|
Item |
ChoiceItem.getMin() |
Item |
InterleaveItem.getMin() |
Item |
InElementItem.getSecond() |
Item |
Item.groupContinuation(Item cont)
Appends a group to a continuation.
|
Item |
InElementItem.groupContinuation(Item cont)
Adds a continuation
|
Item |
ChoiceItem.groupContinuation(Item cont)
Adds a group continuation.
|
Item |
InterleaveItem.groupContinuation(Item cont)
Adds a group continuation.
|
Item |
Item.inElementContinuation(Item cont)
Interleaves a continuation.
|
Item |
InElementItem.inElementContinuation(Item cont)
Adds a continuation
|
Item |
ChoiceItem.inElementContinuation(Item cont)
Adds an inElement continuation.
|
Item |
InterleaveItem.inElementContinuation(Item cont)
Adds an inElement continuation.
|
Item |
Item.interleaveContinuation(Item cont)
Interleaves a continuation.
|
Item |
InElementItem.interleaveContinuation(Item cont)
Interleaves a continuation.
|
Item |
ChoiceItem.interleaveContinuation(Item cont)
Interleaves a continuation.
|
Item |
InterleaveItem.interleaveContinuation(Item cont)
Interleaves a continuation.
|
Item |
Item.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
MemoItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
GroupItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
InElementItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
ChoiceItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
EmptyItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
InterleaveItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
AttributeItem.setAttribute(QName name,
java.lang.String value)
Returns the next item on the match.
|
Item |
Item.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
MemoItem.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
ElementItem.startElement(QName name)
Returns the next item on the match.
|
Item |
ZeroOrMoreItem.startElement(QName name)
Returns the next item on the match.
|
Item |
GroupItem.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
InElementItem.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
ChoiceItem.startElement(QName name)
Returns the next item on the match.
|
Item |
InterleaveItem.startElement(QName name)
Returns the next item on the match.
|
Item |
Item.text(java.lang.CharSequence text)
Adds text.
|
Item |
MemoItem.text(java.lang.CharSequence text)
Adds text.
|
Item |
DataItem.text(java.lang.CharSequence text)
Data repeats
|
Item |
GroupItem.text(java.lang.CharSequence string)
Returns the next item when some text data is available.
|
Item |
InElementItem.text(java.lang.CharSequence string)
Returns the next item when some text data is available.
|
Item |
TextItem.text(java.lang.CharSequence text)
Text repeats
|
Item |
ChoiceItem.text(java.lang.CharSequence data)
Returns the next item on the match.
|
Item |
InterleaveItem.text(java.lang.CharSequence string)
Returns the next item on some text
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Iterator<Item> |
Item.emptyItemIterator() |
java.util.Iterator<Item> |
Item.getItemsIterator()
Return all possible child items
|
java.util.Iterator<Item> |
MemoItem.getItemsIterator()
Return all possible child items or null
|
java.util.Iterator<Item> |
ElementItem.getItemsIterator()
Return all possible child items or null
|
java.util.Iterator<Item> |
ZeroOrMoreItem.getItemsIterator()
Return all possible child items or null
|
java.util.Iterator<Item> |
GroupItem.getItemsIterator()
Return all possible child items or null
|
java.util.Iterator<Item> |
InElementItem.getItemsIterator()
Return all possible child items or null
|
java.util.Iterator<Item> |
ChoiceItem.getItemsIterator()
Return all possible child items or null
|
java.util.Iterator<Item> |
InterleaveItem.getItemsIterator()
Return all possible child items or null
|
protected java.util.Iterator<Item> |
Item.itemIterator(Item item) |
Modifier and Type | Method and Description |
---|---|
void |
ChoiceItem.addItem(Item item) |
void |
InterleaveItem.addItem(Item item) |
static Item |
GroupItem.create(Item first,
Item second) |
static InElementItem |
InElementItem.create(Item eltItem,
Item contItem) |
static Item |
ChoiceItem.create(Item left,
Item right) |
static Item |
InterleaveItem.create(Item left,
Item right) |
Item |
Item.groupContinuation(Item cont)
Appends a group to a continuation.
|
Item |
InElementItem.groupContinuation(Item cont)
Adds a continuation
|
Item |
ChoiceItem.groupContinuation(Item cont)
Adds a group continuation.
|
Item |
InterleaveItem.groupContinuation(Item cont)
Adds a group continuation.
|
Item |
Item.inElementContinuation(Item cont)
Interleaves a continuation.
|
Item |
InElementItem.inElementContinuation(Item cont)
Adds a continuation
|
Item |
ChoiceItem.inElementContinuation(Item cont)
Adds an inElement continuation.
|
Item |
InterleaveItem.inElementContinuation(Item cont)
Adds an inElement continuation.
|
Item |
Item.interleaveContinuation(Item cont)
Interleaves a continuation.
|
Item |
InElementItem.interleaveContinuation(Item cont)
Interleaves a continuation.
|
Item |
ChoiceItem.interleaveContinuation(Item cont)
Interleaves a continuation.
|
Item |
InterleaveItem.interleaveContinuation(Item cont)
Interleaves a continuation.
|
protected java.util.Iterator<Item> |
Item.itemIterator(Item item) |
void |
ElementItem.setChildrenItem(Item item) |
Constructor and Description |
---|
MemoItem(Item item) |
MemoItem(Item item,
LruCache<java.lang.Object,Item> memoMap) |
ZeroOrMoreItem(Item item) |
Constructor and Description |
---|
MemoItem(Item item,
LruCache<java.lang.Object,Item> memoMap) |