public class FixedRegistryObjectParser
extends java.lang.Object
FixedRegistryObjectCollection
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NS_FIXED_REGISTRY_OBJECTS
The parsers namespace URI.
|
Constructor and Description |
---|
FixedRegistryObjectParser() |
Modifier and Type | Method and Description |
---|---|
FixedRegistryObjectCollection |
parse(java.io.File pFile)
Called to read the specified file and generate Java classes, which match
the contents.
|
FixedRegistryObjectCollection |
parse(org.xml.sax.InputSource pSource)
Called to read the specified
InputSource and generate Java
classes, which match the contents. |
FixedRegistryObjectCollection |
parse(java.net.URL pURL)
Called to read the specified URL and generate Java classes, which match the contents.
|
public static final java.lang.String NS_FIXED_REGISTRY_OBJECTS
public FixedRegistryObjectCollection parse(java.io.File pFile) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, CSAppFrameworkException
pFile
- The File
to read fromFixedRegistryObjectCollection
instance which is populated with objects read from the given filejava.io.IOException
- If an error occurs while opening/reading/closing the fileorg.xml.sax.SAXException
- If an error occurs in parsing the filejavax.xml.parsers.ParserConfigurationException
- If the file configuration is not understandable by the parserCSAppFrameworkException
- If an error occurs during the method callpublic FixedRegistryObjectCollection parse(java.net.URL pURL) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, CSAppFrameworkException
pURL
- The URL
from whose contents are to be parsedFixedRegistryObjectCollection
instance which is populated with objects read from the given URLjava.io.IOException
- If an error occurs while opening/reading/closing the URLorg.xml.sax.SAXException
- If an error occurs in parsing the URLjavax.xml.parsers.ParserConfigurationException
- If the configuration is not understandable by the parserCSAppFrameworkException
- If an error occurs during the method callpublic FixedRegistryObjectCollection parse(org.xml.sax.InputSource pSource) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, CSAppFrameworkException
InputSource
and generate Java
classes, which match the contents.pSource
- The InputSource
which should be read fromFixedRegistryObjectCollection
instance which is populated with objects read from the given sourcejava.io.IOException
- If an error occurs while opening/reading/closing the sourceorg.xml.sax.SAXException
- If an error occurs in parsingjavax.xml.parsers.ParserConfigurationException
- If the configuration is not understandable by the parserCSAppFrameworkException
- If an error occurs during the method call