|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xylia.sax.contentmodelparser.DefaultContentModelFactory
Construct a DefaultContentModel.
This is a callback pbject for the parser that constructs DefaultContentModels.
> Copyright: Copyright (c) 2001 Company: Memorial
Fields inherited from interface xylia.sax.contentmodelparser.ContentModelKinds |
ANY, CHILDREN, EMPTY, MIXED |
Constructor Summary | |
DefaultContentModelFactory()
|
Method Summary | |
java.lang.Object |
finishContentModel(int kind)
Complete construction of a content model. |
java.lang.Object |
finishContentModel(int kind,
java.lang.Object regExp)
Complete construction of a content model. |
java.lang.Object |
mkAlternation(java.lang.Object right,
java.lang.Object left)
Create a regular expression object representing an occurence of an alternation in the content model. |
java.lang.Object |
mkKleenePlus(java.lang.Object operand)
Create a regular expression object representing nonempty repetition of a regular expression in the content model. |
java.lang.Object |
mkKleeneStar(java.lang.Object operand)
Create a regular expression object representing possibly empty repetition of a regular expression in the content model. |
java.lang.Object |
mkName(java.lang.String name)
Create a regular expression object representing an occurence of an element name in the content model. |
java.lang.Object |
mkOptional(java.lang.Object operand)
Create a regular expression object representing an occurence of optional regular expression in the content model. |
java.lang.Object |
mkPCDATA()
Create a regular expression object representing an occurence of #PCDATA in the content model. |
java.lang.Object |
mkSequence(java.lang.Object right,
java.lang.Object left)
Create a regular expression object representing an occurence of a sequence in the content model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultContentModelFactory()
Method Detail |
public java.lang.Object finishContentModel(int kind)
finishContentModel
in interface ContentModelFactory
kind,
- either ANY or EMPTY.public java.lang.Object finishContentModel(int kind, java.lang.Object regExp)
finishContentModel
in interface ContentModelFactory
kind
- Either MIXED or CHILDREN.regExp
- A regular expression representing the
allowable sequence of children.public java.lang.Object mkPCDATA()
mkPCDATA
in interface ContentModelFactory
public java.lang.Object mkName(java.lang.String name)
mkName
in interface ContentModelFactory
name
- The element name.public java.lang.Object mkAlternation(java.lang.Object right, java.lang.Object left)
mkAlternation
in interface ContentModelFactory
left
- A regular expression object representing the left operand.right
- A regular expression object representing the right operand.public java.lang.Object mkSequence(java.lang.Object right, java.lang.Object left)
mkSequence
in interface ContentModelFactory
left
- A regular expression object representing the left operand.right
- A regular expression object representing the right operand.public java.lang.Object mkOptional(java.lang.Object operand)
mkOptional
in interface ContentModelFactory
operand
- A regular expression object representing the operand.public java.lang.Object mkKleeneStar(java.lang.Object operand)
mkKleeneStar
in interface ContentModelFactory
operand
- A regular expression object representing the operand.public java.lang.Object mkKleenePlus(java.lang.Object operand)
mkKleenePlus
in interface ContentModelFactory
operand
- A regular expression object representing the operand.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |