public class StyleDefinitionXmlFactoryModule extends Object implements XmlFactoryModule
NOT_RECOGNIZED, RECOGNIZED_BY_DTD, RECOGNIZED_BY_NAMESPACE, RECOGNIZED_BY_TAGNAME
Constructor and Description |
---|
StyleDefinitionXmlFactoryModule() |
Modifier and Type | Method and Description |
---|---|
XmlReadHandler |
createReadHandler(XmlDocumentInfo documentInfo)
Creates an XmlReadHandler for the root-tag based on the given document information.
|
String |
getDefaultNamespace(XmlDocumentInfo documentInfo)
Returns the default namespace for a document with the characteristics given in the XmlDocumentInfo.
|
int |
getDocumentSupport(XmlDocumentInfo documentInfo)
Checks the given document data to compute the probability of whether this factory module would be able to handle
the given data.
|
public int getDocumentSupport(XmlDocumentInfo documentInfo)
getDocumentSupport
in interface XmlFactoryModule
documentInfo
- the document information collection.public XmlReadHandler createReadHandler(XmlDocumentInfo documentInfo)
createReadHandler
in interface XmlFactoryModule
documentInfo
- the document information that has been extracted from the parser.public String getDefaultNamespace(XmlDocumentInfo documentInfo)
getDefaultNamespace
in interface XmlFactoryModule
documentInfo
- the document information.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.