Methods Summary |
---|
public java.lang.Object | getDescriptor()
return descriptor;
|
public java.lang.String | getDocType()
return null;
|
protected java.lang.String | getSchemaURL()
return WebServicesTagNames.IBM_NAMESPACE + "/" + getSystemID();
|
public java.lang.String | getSpecVersion()
return "1.1";
|
public java.lang.String | getSystemID()
return SCHEMA_ID;
|
public java.util.List | getSystemIDs()
return systemIDs;
|
protected com.sun.enterprise.deployment.node.XMLElement | getXMLRootTag()
return ROOT_ELEMENT;
|
private static java.util.Set | initComplexElements()
Set complexElements = new HashSet();
complexElements.add(WebServicesTagNames.JAVA_XML_TYPE_MAPPING);
complexElements.add(WebServicesTagNames.EXCEPTION_MAPPING);
complexElements.add(WebServicesTagNames.SERVICE_INTERFACE_MAPPING);
complexElements.add
(WebServicesTagNames.SERVICE_ENDPOINT_INTERFACE_MAPPING);
return Collections.unmodifiableSet(complexElements);
|
private static java.util.List | initSystemIDs()
ArrayList<String> systemIDs = new ArrayList<String>();
systemIDs.add(SCHEMA_ID);
return Collections.unmodifiableList(systemIDs);
|
public void | setElementValue(com.sun.enterprise.deployment.node.XMLElement element, java.lang.String value)receives notiification of the value for a particular tag
if (complexMapping) {
// We only gather namespace->package mapping. In exhaustive(complex)
// mapping case, it's enough to just capture the fact that we
// have complex mapping info. The actual processing of the elements
// will be done by mapping file modeler during deployment
return;
} else if(WebServicesTagNames.PACKAGE_TYPE.equals(element.getQName())) {
javaPackage = value;
} else if(WebServicesTagNames.NAMESPACE_URI.equals(element.getQName())){
descriptor.addMapping(javaPackage, value);
javaPackage = null;
} else {
super.setElementValue(element, value);
}
|
public void | startElement(com.sun.enterprise.deployment.node.XMLElement element, org.xml.sax.Attributes attributes)
if( complexMapping ) {
// NOTE : we don't call super.startElement in this case because
// we don't need to process any of the attributes
return;
} else if( complexElements.contains(element.getQName()) ) {
complexMapping = true;
descriptor.setIsSimpleMapping(false);
// NOTE : we don't call super.startElement in this case because
// we don't need to process any of the attributes
} else {
super.startElement(element, attributes);
}
|