|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.style.xml.StyleSheetDocumentUtils
public class StyleSheetDocumentUtils
Utility class for parsing an XSS document into a StyleSheetDocument.
Constructor Summary | |
---|---|
StyleSheetDocumentUtils()
|
Method Summary | |
---|---|
static StyleSheetDocument |
createStyleSheetDocument(XMLProvider provider,
org.xml.sax.InputSource source)
Creates a StyleSheetDocument from the specified InputSource |
static StyleSheetDocument |
createStyleSheetDocument(XMLProvider xmlProvider,
NameResolver resolver,
java.lang.String sourceName)
Creates a StyleSheetDocument from the specified InputSource |
static StyleSheetDocument |
mergeStyleSheetDocuments(StyleSheetDocument document1,
StyleSheetDocument document2)
Merges two StyleSheetDocuments to produce a new StyleSheetDocuments which combines styles from both documents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StyleSheetDocumentUtils()
Method Detail |
---|
public static StyleSheetDocument createStyleSheetDocument(XMLProvider provider, org.xml.sax.InputSource source) throws java.io.IOException, org.xml.sax.SAXException
provider
- The XMLProvider to use to parse the source documentsource
- The InputSource for the source document. The system
id of the InputSource must be the file system path of the
source document.
java.io.IOException
org.xml.sax.SAXException
public static StyleSheetDocument createStyleSheetDocument(XMLProvider xmlProvider, NameResolver resolver, java.lang.String sourceName) throws java.io.IOException, org.xml.sax.SAXException
xmlProvider
- The XMLProvider to use to parse the source documentresolver
- The NameResolver to use to locate the source document.
This must be a non-null instance.sourceName
- The name of the source XSS document. This value
must resolve to a valid document via the provided
NameResolver.
java.io.IOException
org.xml.sax.SAXException
public static StyleSheetDocument mergeStyleSheetDocuments(StyleSheetDocument document1, StyleSheetDocument document2)
document1
- The base StyleSheetDocumentdocument2
- A second StyleSheetDocument which overrides
properties from the base StyleSheetDocument.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |