uk.ac.bbk.dcs.automed.xml.wrappers
Class XMLDSSFromDTD
java.lang.Object
uk.ac.bbk.dcs.automed.xml.wrappers.XMLDSSFromDTD
public class XMLDSSFromDTD
- extends java.lang.Object
- Author:
- Lucas Zamboulis
Field Summary |
protected static java.util.logging.Logger |
logger
|
(package private) org.w3c.dom.Document |
xmldss
|
Method Summary |
private static void |
addAttrProperty(org.w3c.dom.Document xmldss,
org.xmlmiddleware.schemas.dtds.Attribute attribute,
org.w3c.dom.Node currentNode)
|
private static org.w3c.dom.Document |
generateXMLDSS(org.xmlmiddleware.schemas.dtds.DTD dtd,
java.lang.String rootName)
|
static org.w3c.dom.Document |
getXMLDSSDoc(java.lang.String dtdURI,
java.lang.String rootName)
|
private static org.xmlmiddleware.schemas.dtds.DTD |
preProcessing(java.lang.String uri)
|
private static void |
processAttributes(org.w3c.dom.Document xmldss,
java.util.Hashtable attributes,
org.w3c.dom.Node currentNode)
|
private static void |
processElementContent(org.w3c.dom.Document xmldss,
org.xmlmiddleware.schemas.dtds.Group content,
java.util.Hashtable children,
org.w3c.dom.Node currentNode)
|
private static org.w3c.dom.Node |
processElementType(org.w3c.dom.Document xmldss,
org.xmlmiddleware.schemas.dtds.ElementType elementType,
java.lang.String cardinality,
org.w3c.dom.Node parentNode)
|
private static void |
processMixedContent(org.w3c.dom.Document xmldss,
org.xmlmiddleware.schemas.dtds.Group content,
java.util.Hashtable children,
org.w3c.dom.Node currentNode)
|
private static void |
setRepeatInfo(java.util.Hashtable repeatInfo,
org.xmlmiddleware.schemas.dtds.Group content,
boolean parentRepeatable,
boolean parentRequired)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static java.util.logging.Logger logger
xmldss
org.w3c.dom.Document xmldss
XMLDSSFromDTD
public XMLDSSFromDTD()
getXMLDSSDoc
public static org.w3c.dom.Document getXMLDSSDoc(java.lang.String dtdURI,
java.lang.String rootName)
throws XMLException
- Throws:
XMLException
preProcessing
private static org.xmlmiddleware.schemas.dtds.DTD preProcessing(java.lang.String uri)
throws XMLException
- Throws:
XMLException
generateXMLDSS
private static org.w3c.dom.Document generateXMLDSS(org.xmlmiddleware.schemas.dtds.DTD dtd,
java.lang.String rootName)
throws XMLException
- Throws:
XMLException
processElementType
private static org.w3c.dom.Node processElementType(org.w3c.dom.Document xmldss,
org.xmlmiddleware.schemas.dtds.ElementType elementType,
java.lang.String cardinality,
org.w3c.dom.Node parentNode)
throws XMLException
- Throws:
XMLException
processAttributes
private static void processAttributes(org.w3c.dom.Document xmldss,
java.util.Hashtable attributes,
org.w3c.dom.Node currentNode)
addAttrProperty
private static void addAttrProperty(org.w3c.dom.Document xmldss,
org.xmlmiddleware.schemas.dtds.Attribute attribute,
org.w3c.dom.Node currentNode)
processElementContent
private static void processElementContent(org.w3c.dom.Document xmldss,
org.xmlmiddleware.schemas.dtds.Group content,
java.util.Hashtable children,
org.w3c.dom.Node currentNode)
throws XMLException
- Throws:
XMLException
processMixedContent
private static void processMixedContent(org.w3c.dom.Document xmldss,
org.xmlmiddleware.schemas.dtds.Group content,
java.util.Hashtable children,
org.w3c.dom.Node currentNode)
throws XMLException
- Throws:
XMLException
setRepeatInfo
private static void setRepeatInfo(java.util.Hashtable repeatInfo,
org.xmlmiddleware.schemas.dtds.Group content,
boolean parentRepeatable,
boolean parentRequired)