Package com.sun.xml.rpc.processor.util
Class ModelWriter
- java.lang.Object
-
- com.sun.xml.rpc.processor.model.ExtendedModelVisitor
-
- com.sun.xml.rpc.processor.util.ModelWriter
-
- All Implemented Interfaces:
LiteralTypeVisitor,SOAPTypeVisitor,ProcessorAction
- Direct Known Subclasses:
CanonicalModelWriter
public class ModelWriter extends ExtendedModelVisitor implements ProcessorAction, SOAPTypeVisitor, LiteralTypeVisitor
This class writes out a Model. It is intended for debugging purposes only.- Author:
- JAX-RPC Development Team
-
-
Constructor Summary
Constructors Constructor Description ModelWriter(IndentingWriter w)ModelWriter(File f)ModelWriter(OutputStream out)
-
Method Summary
-
Methods inherited from class com.sun.xml.rpc.processor.model.ExtendedModelVisitor
shouldVisit, visit
-
-
-
-
Constructor Detail
-
ModelWriter
public ModelWriter(IndentingWriter w)
-
ModelWriter
public ModelWriter(OutputStream out)
-
ModelWriter
public ModelWriter(File f) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-
Method Detail
-
write
public void write(Model model)
-
perform
public void perform(Model model, Configuration config, Properties options)
- Specified by:
performin interfaceProcessorAction
-
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(LiteralEnumerationType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralSimpleType 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(LiteralSequenceType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralAllType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
processContentMember
protected void processContentMember(LiteralStructuredType type) throws Exception
- 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
-
writeWildcardMember
protected void writeWildcardMember(LiteralWildcardMember wildcard) throws Exception
- Throws:
Exception
-
visit
public void visit(LiteralArrayType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
visit
public void visit(LiteralArrayWrapperType 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(SOAPListType type) throws Exception
- Specified by:
visitin interfaceSOAPTypeVisitor- 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(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
-
writeQName
protected void writeQName(QName name) throws IOException
- Throws:
IOException
-
visit
public void visit(LiteralAttachmentType type) throws Exception
- Specified by:
visitin interfaceLiteralTypeVisitor- Throws:
Exception
-
-