|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.contract.model.impl.ServiceContractModelPescXsdLoader
public class ServiceContractModelPescXsdLoader
Nested Class Summary | |
---|---|
private static class |
ServiceContractModelPescXsdLoader.XsdAnnotationParser
helper class |
private static class |
ServiceContractModelPescXsdLoader.XsdAnnotationParserFactory
helper class |
private static class |
ServiceContractModelPescXsdLoader.XsdContentHandler
helper class |
Field Summary | |
---|---|
private List<MessageStructure> |
messageStructures
|
private List<ServiceMethod> |
serviceMethods
|
private List<Service> |
services
|
private Map<String,XmlType> |
xmlTypeMap
|
private List<String> |
xsdFileNames
|
Constructor Summary | |
---|---|
ServiceContractModelPescXsdLoader(List<String> xsdFileNames)
|
Method Summary | |
---|---|
private void |
addComplexType(com.sun.xml.xsom.XSComplexType complexType)
|
private void |
addComplexType(com.sun.xml.xsom.XSComplexType complexType,
String name)
|
private void |
addElementDecl(com.sun.xml.xsom.XSElementDecl element)
|
private void |
addMessageStructure(String xmlObject,
com.sun.xml.xsom.XSElementDecl element)
|
private void |
addSimpleType(com.sun.xml.xsom.XSSimpleType simpleType)
|
private String |
calcCardinality(com.sun.xml.xsom.XSElementDecl element)
|
private String |
calcDesc(com.sun.xml.xsom.XSAnnotation annotation)
|
private String |
calcMissing(String str)
|
private String |
calcRequired(com.sun.xml.xsom.XSElementDecl element)
|
private String |
calcType(com.sun.xml.xsom.XSElementDecl element,
String inLinePrefix)
|
private String |
calcType(com.sun.xml.xsom.XSType xsType,
String inLinePrefix)
|
private String |
getFacetValue(com.sun.xml.xsom.XSElementDecl element,
String name)
|
private boolean |
getIsRepeated(com.sun.xml.xsom.XSElementDecl element)
|
List<MessageStructure> |
getMessageStructures()
Get Message Structure Definitions |
List<ServiceMethod> |
getServiceMethods()
Get service methods |
List<Service> |
getServices()
get the service definitions |
List<String> |
getSourceNames()
|
List<XmlType> |
getXmlTypes()
load xml types |
private void |
parse()
|
private void |
processSchema(com.sun.xml.xsom.XSSchema schema)
|
private boolean |
shouldInclude(com.sun.xml.xsom.XSComplexType ct)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private List<String> xsdFileNames
private List<Service> services
private List<ServiceMethod> serviceMethods
private Map<String,XmlType> xmlTypeMap
private List<MessageStructure> messageStructures
Constructor Detail |
---|
public ServiceContractModelPescXsdLoader(List<String> xsdFileNames)
Method Detail |
---|
public List<ServiceMethod> getServiceMethods()
ServiceContractModel
getServiceMethods
in interface ServiceContractModel
public List<String> getSourceNames()
getSourceNames
in interface ServiceContractModel
public List<Service> getServices()
ServiceContractModel
getServices
in interface ServiceContractModel
public List<XmlType> getXmlTypes()
ServiceContractModel
getXmlTypes
in interface ServiceContractModel
public List<MessageStructure> getMessageStructures()
ServiceContractModel
getMessageStructures
in interface ServiceContractModel
private void parse()
private void processSchema(com.sun.xml.xsom.XSSchema schema)
private boolean shouldInclude(com.sun.xml.xsom.XSComplexType ct)
private void addSimpleType(com.sun.xml.xsom.XSSimpleType simpleType)
private void addComplexType(com.sun.xml.xsom.XSComplexType complexType)
private void addElementDecl(com.sun.xml.xsom.XSElementDecl element)
private void addComplexType(com.sun.xml.xsom.XSComplexType complexType, String name)
private String calcMissing(String str)
private String calcDesc(com.sun.xml.xsom.XSAnnotation annotation)
private void addMessageStructure(String xmlObject, com.sun.xml.xsom.XSElementDecl element)
private String calcType(com.sun.xml.xsom.XSElementDecl element, String inLinePrefix)
private String calcType(com.sun.xml.xsom.XSType xsType, String inLinePrefix)
private String calcRequired(com.sun.xml.xsom.XSElementDecl element)
private String calcCardinality(com.sun.xml.xsom.XSElementDecl element)
private boolean getIsRepeated(com.sun.xml.xsom.XSElementDecl element)
private String getFacetValue(com.sun.xml.xsom.XSElementDecl element, String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |