|
||||||||||
| 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.EnumerationCollector
public class EnumerationCollector
Provisioning enumeration collector (simple type visitor) which receives visitor events and and calls a delegate assembler/builder for enumerations, storing the enumeration for clients.
SimpleTypeVisitor| Constructor Summary | |
|---|---|
EnumerationCollector(Schema schema,
Map<String,SimpleType> simpleTypeMap,
EnumerationAssembler enumerationAssembler)
|
|
| Method Summary | |
|---|---|
List<Enumeration> |
getResult()
|
String |
getTargetNamespace()
Returns the target namespace for a particular schema instance. |
SimpleType |
getTopLevelSimpleType(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. |
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 EnumerationCollector(Schema schema,
Map<String,SimpleType> simpleTypeMap,
EnumerationAssembler enumerationAssembler)
| Method Detail |
|---|
public List<Enumeration> getResult()
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(QName name)
SimpleTypeVisitor
getTopLevelSimpleType in interface SimpleTypeVisitorname - the qualified name of the simple type
public String getTargetNamespace()
SimpleTypeVisitor
getTargetNamespace in interface SimpleTypeVisitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||