Class TypeVisitor
- java.lang.Object
-
- com.sun.xml.rpc.processor.model.ExtendedModelVisitor
-
- com.sun.xml.rpc.processor.generator.nodes.TypeVisitor
-
- All Implemented Interfaces:
LiteralTypeVisitor,SOAPTypeVisitor
public class TypeVisitor extends ExtendedModelVisitor implements SOAPTypeVisitor, LiteralTypeVisitor
Visit the type hierarcy to gather complex and simple types- Author:
- Michael Cheng
-
-
Constructor Summary
Constructors Constructor Description TypeVisitor(Configuration config)
-
Method Summary
-
Methods inherited from class com.sun.xml.rpc.processor.model.ExtendedModelVisitor
shouldVisit, visit
-
-
-
-
Constructor Detail
-
TypeVisitor
public TypeVisitor(Configuration config)
-
-
Method Detail
-
getComplexTypes
public Set getComplexTypes()
-
getSimpleTypes
public Set getSimpleTypes()
-
getFaults
public Set getFaults()
-
getNamespacePackages
public Map getNamespacePackages()
-
preVisit
protected void preVisit(Model model) throws Exception
- Overrides:
preVisitin classExtendedModelVisitor- Throws:
Exception
-
postVisit
protected void postVisit(Model model) throws Exception
- Overrides:
postVisitin classExtendedModelVisitor- Throws:
Exception
-
preVisit
protected void preVisit(Service service) throws Exception
- Overrides:
preVisitin classExtendedModelVisitor- Throws:
Exception
-
postVisit
protected void postVisit(Service service) throws Exception
- Overrides:
postVisitin classExtendedModelVisitor- Throws:
Exception
-
preVisit
protected void preVisit(Port port) throws Exception
- Overrides:
preVisitin classExtendedModelVisitor- Throws:
Exception
-
postVisit
protected void postVisit(Port port) throws Exception
- Overrides:
postVisitin classExtendedModelVisitor- Throws:
Exception
-
preVisit
protected void preVisit(Operation operation) throws Exception
- Overrides:
preVisitin classExtendedModelVisitor- Throws:
Exception
-
postVisit
protected void postVisit(Operation operation) throws Exception
- Overrides:
postVisitin classExtendedModelVisitor- Throws:
Exception
-
preVisit
protected void preVisit(Request request) throws Exception
- Overrides:
preVisitin classExtendedModelVisitor- Throws:
Exception
-
postVisit
protected void postVisit(Request request) throws Exception
- Overrides:
postVisitin classExtendedModelVisitor- Throws:
Exception
-
preVisit
protected void preVisit(Response response) throws Exception
- Overrides:
preVisitin classExtendedModelVisitor- Throws:
Exception
-
postVisit
protected void postVisit(Response response) throws Exception
- Overrides:
postVisitin classExtendedModelVisitor- Throws:
Exception
-
preVisit
protected void preVisit(Fault fault) throws Exception
- Overrides:
preVisitin classExtendedModelVisitor- Throws:
Exception
-
postVisit
protected void postVisit(Fault fault) throws Exception
- Overrides:
postVisitin classExtendedModelVisitor- Throws:
Exception
-
visitBodyBlock
protected void visitBodyBlock(Block block) throws Exception
- Overrides:
visitBodyBlockin classExtendedModelVisitor- Throws:
Exception
-
visitHeaderBlock
protected void visitHeaderBlock(Block block) throws Exception
- Overrides:
visitHeaderBlockin classExtendedModelVisitor- Throws:
Exception
-
visitFaultBlock
protected void visitFaultBlock(Block block) throws Exception
- Overrides:
visitFaultBlockin classExtendedModelVisitor- Throws:
Exception
-
visit
protected void visit(Parameter parameter) throws Exception
- Overrides:
visitin classExtendedModelVisitor- Throws:
Exception
-
describe
protected void describe(LiteralType type) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralSimpleType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralSequenceType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralAllType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralEnumerationType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralListType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralIDType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralArrayWrapperType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
processAttributeMembers
protected void processAttributeMembers(LiteralStructuredType type) throws Exception
- Throws:
Exception
-
writeAttributeMember
protected void writeAttributeMember(LiteralAttributeMember attribute) throws Exception
- Throws:
Exception
-
processElementMembers
protected void processElementMembers(LiteralStructuredType type) throws Exception
- Throws:
Exception
-
writeElementMember
protected void writeElementMember(LiteralElementMember element) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralArrayType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralFragmentType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(SOAPArrayType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(SOAPCustomType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(SOAPEnumerationType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(SOAPSimpleType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(SOAPAnyType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(SOAPOrderedStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(SOAPUnorderedStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(SOAPListType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(RPCRequestOrderedStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(RPCRequestUnorderedStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
visit
public void visit(RPCResponseStructureType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- Throws:
Exception
-
processMembers
protected void processMembers(SOAPStructureType type) throws Exception
- Throws:
Exception
-
writeMember
protected void writeMember(SOAPStructureMember member) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralAttachmentType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
-