Interface MetadataParser<T extends WlsMetadata>
-
- Type Parameters:
T-
- All Known Implementing Classes:
WeblogicRaPasrer
public interface MetadataParser<T extends WlsMetadata>A MetadataParser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSystemPropertiesResolved()Are system properties resolved ?Tparse(InputStream xmlInputStream)Parse the xml file and return the JCAMetaData for which the concrete parser is designed.Tparse(XMLStreamReader reader)Parse the xml file and return the JCAMetaData for which the concrete parser is designed.voidsetSystemPropertiesResolved(boolean v)Set if system properties should be resolved
-
-
-
Method Detail
-
isSystemPropertiesResolved
boolean isSystemPropertiesResolved()
Are system properties resolved ?- Returns:
- True if resolved (default); otherwise false
-
setSystemPropertiesResolved
void setSystemPropertiesResolved(boolean v)
Set if system properties should be resolved- Parameters:
v- The value
-
parse
T parse(InputStream xmlInputStream) throws Exception
Parse the xml file and return the JCAMetaData for which the concrete parser is designed. Note that is responsibility of the client to open and close the stream- Parameters:
xmlInputStream- an InputStrema opened on the xml file to parse- Returns:
- The metadata
- Throws:
Exception- Thrown if an error occurs
-
parse
T parse(XMLStreamReader reader) throws Exception
Parse the xml file and return the JCAMetaData for which the concrete parser is designed. Note that is responsibility of the client to open and close the stream- Parameters:
reader- an XMLStreamReader opened on the xml file to parse- Returns:
- The metadata
- Throws:
Exception- Thrown if an error occurs
-
-