Class StringSubstitutionParser
java.lang.Object
com.sun.enterprise.admin.servermgmt.stringsubs.impl.StringSubstitutionParser
This class parses the string substitution XML.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringsubsDefinitionparse(InputStream configStream) Parse the configuration stream against the string-subs schema and then closes the stream.
-
Constructor Details
-
StringSubstitutionParser
public StringSubstitutionParser()
-
-
Method Details
-
parse
public static StringsubsDefinition parse(InputStream configStream) throws StringSubstitutionException Parse the configuration stream against the string-subs schema and then closes the stream.- Parameters:
configStream- InputStream of stringsubs.xml file.- Returns:
- Parsed Object.
- Throws:
StringSubstitutionException- If any error occurs in parsing.
-