|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--mozile.Module | +--mozile.rng
Nested Class Summary | |
<static class> |
mozile.rng.Schema |
<static class> |
mozile.rng.Validation |
<static class> |
mozile.rng.Node |
<static class> |
mozile.rng.Grammar |
<static class> |
mozile.rng.Start |
<static class> |
mozile.rng.Element |
<static class> |
mozile.rng.Attribute |
<static class> |
mozile.rng.Text |
<static class> |
mozile.rng.Empty |
<static class> |
mozile.rng.Group |
<static class> |
mozile.rng.Optional |
<static class> |
mozile.rng.ZeroOrMore |
<static class> |
mozile.rng.OneOrMore |
<static class> |
mozile.rng.Choice |
<static class> |
mozile.rng.Define |
<static class> |
mozile.rng.Ref |
<static class> |
mozile.rng.Data |
<static class> |
mozile.rng.Param |
<static class> |
mozile.rng.Value |
<static class> |
mozile.rng.Include |
<static class> |
mozile.rng.Interleave |
<static class> |
mozile.rng.Div |
Field Summary | |
<static> Boolean |
debug
Indicates verbose debugging messages. |
Method Summary | |
<static> Boolean
|
checkType(types, type)
Checks to see if a RNG element type is in a given list of types. |
<static> mozile.rng.Node
|
combine(<mozile.rng.Node> target)
Combines this mozile.rng.Define (or mozile.rng.Start) object with another mozile.rng.Define (or mozile.rng.Start) object. |
<static> String
|
getLocalName()
Gets the local part of the qualified name of the element. |
<static> String
|
getName()
Returns the 'name' attribute of the element, stripped of whitespace. |
<static> String
|
getPrefix()
Gets the prefix part of the qualified name of the element. |
<static> mozile.rng.Validation
|
validateInterleave(<Node> node, <mozile.rng.Validation> validation)
Validates the set of the RNG children where the order of validation does not matter. |
<static> mozile.rng.Validation
|
validateMany(<Node> node, <mozile.rng.Validation> validation)
Validates the set of the RNG children as many times as possible. |
Field Detail |
<static> Boolean debug
Method Detail |
<static> Boolean checkType(types, type)
types
- The list to check. Can be a string or an array of strings.
type
- The type to find in the list.
<static> mozile.rng.Node combine(<mozile.rng.Node> target)
At least one of the elements must have a 'combine' attribute. If both elements have a 'combine' attribute, then the values must match. The value of the 'combine' attribute can be either 'choice' or 'interleave'.
If this object has a single child of the combineType, then it is used as a container for the new objects. Otherwise a new container of choiceType is created and all children moved into it. Similarly, if the given object has a single child of combineType, all of that object's children are moved into the container. Otherwise all the object's children are moved into the container. Specification
target
- The object to combine with this object.
<static> String getLocalName()
<static> String getName()
<static> String getPrefix()
<static> mozile.rng.Validation validateInterleave(<Node> node, <mozile.rng.Validation> validation)
node
- The node to be validated.
validation
- The validation object for this validation operation.
<static> mozile.rng.Validation validateMany(<Node> node, <mozile.rng.Validation> validation)
node
- The node to be validated.
validation
- The validation object for this validation operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |