|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.plasma.provisioning.xsd.AbstractCollector
org.plasma.provisioning.xsd.ConstraintCollector
public class ConstraintCollector
Provisioning constraint collector (simple type visitor) which receives visitor events and and calls a delegate assembler/builder for constraints, storing the constraint for clients.
SimpleTypeVisitor| Constructor Summary | |
|---|---|
ConstraintCollector(Schema schema,
java.util.Map<java.lang.String,SimpleType> simpleTypeMap,
ConstraintAssembler assembler)
|
|
| Method Summary | |
|---|---|
java.util.List<EnumerationConstraint> |
getEnumerationConstraints()
|
java.lang.String |
getTargetNamespace()
Returns the target namespace for a particular schema instance. |
SimpleType |
getTopLevelSimpleType(javax.xml.namespace.QName name)
Since the the type hierarchy traversal will encounter qualified name references to many simple types, the traversal logic requests a simple type from the visitor client. |
java.util.List<ValueConstraint> |
getValueConstraints()
|
void |
visit(AbstractSimpleType target,
AbstractSimpleType source,
int level)
The top event received when a simple type is encountered in the course of traversal. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstraintCollector(Schema schema,
java.util.Map<java.lang.String,SimpleType> simpleTypeMap,
ConstraintAssembler assembler)
| Method Detail |
|---|
public java.util.List<EnumerationConstraint> getEnumerationConstraints()
public java.util.List<ValueConstraint> getValueConstraints()
public void visit(AbstractSimpleType target,
AbstractSimpleType source,
int level)
SimpleTypeVisitor
visit in interface SimpleTypeVisitortarget - the target or "child" typesource - the source or "parent" typelevel - the traversal levelpublic SimpleType getTopLevelSimpleType(javax.xml.namespace.QName name)
SimpleTypeVisitor
getTopLevelSimpleType in interface SimpleTypeVisitorname - the qualified name of the simple type
public java.lang.String getTargetNamespace()
SimpleTypeVisitor
getTargetNamespace in interface SimpleTypeVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||