public class XmlParserHelper extends Object
| Constructor and Description |
|---|
XmlParserHelper() |
| Modifier and Type | Method and Description |
|---|---|
Schema |
getSchema(String schemaResource) |
String |
getSchemaVersion(String resourceName,
InputStream xmlInputStream)
Retrieves the schema version applying for the given XML input stream as
represented by the "version" attribute of the root element of the stream.
|
public String getSchemaVersion(String resourceName, InputStream xmlInputStream)
resourceName - The name of the represented XML resource.xmlInputStream - An input stream representing an XML resource. Must support the
InputStream.mark(int) and InputStream.reset()
methods.Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved