public class XSLTConverter extends Object
Constructor and Description |
---|
XSLTConverter() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static Node |
transformDOM2DOM(Document _DOMDoc,
InputStream _XSLInputStream)
Although its a general porpuse method, it is currently used for the cluster schema
transformation.
|
static Node |
transformDOM2DOM(InputStream _DOMInputStream,
InputStream _XSLInputStream)
Although its a general porpuse method, it is currently used for the cluster schema
transformation.
|
static void |
validateClusterDocument(Node validatedXmlDocument)
If -Dcom.gs.xmlschema.validation=true (which is the default) it will parse the final xml
configuration document (XML DOM tree) against the stricter XSD schema (the
clusterXML-Schema.xsd schema).
|
public static Node transformDOM2DOM(InputStream _DOMInputStream, InputStream _XSLInputStream) throws TransformerException, TransformerConfigurationException, FileNotFoundException, IOException, ParserConfigurationException
TransformerException
TransformerConfigurationException
FileNotFoundException
IOException
ParserConfigurationException
public static void validateClusterDocument(Node validatedXmlDocument) throws SAXException, IOException
SAXException
IOException
public static Node transformDOM2DOM(Document _DOMDoc, InputStream _XSLInputStream) throws TransformerException, TransformerConfigurationException, FileNotFoundException, IOException, ParserConfigurationException, SAXException
_DOMDoc
- an XML DOM DocumentSAXException
- in case an xsd validation fails for some reasonTransformerException
TransformerConfigurationException
FileNotFoundException
IOException
ParserConfigurationException
public static void main(String[] args) throws TransformerConfigurationException, FileNotFoundException, TransformerException, IOException, ParserConfigurationException
Copyright © GigaSpaces.