|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.relaxng.converter.RNGParser
public class RNGParser
Parser for RELAX NG.
The origin of a pattern is determined as forXElement.getOrigin(Element)
.
Constructor Summary | |
---|---|
RNGParser()
Constructs a new parser. |
Method Summary | |
---|---|
Map<String,String> |
getTopLevelNewNames()
Returns map from old top-level names to new names from the last invocation of parse . |
Grammar |
parse(Document d,
URL base)
Parses schema from XML representation. |
Grammar |
parse(InputStream in,
URL base)
Parses schema from input stream. |
Grammar |
parse(URL url)
Parses schema from URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RNGParser()
Method Detail |
---|
public Map<String,String> getTopLevelNewNames()
parse
.
public Grammar parse(Document d, URL base) throws ParseException
d
- document (JDOM representation)base
- base URL
ParseException
- if error occurs during parsingpublic Grammar parse(InputStream in, URL base) throws ParseException
in
- input streambase
- base URL
ParseException
- if error occurs during parsingpublic Grammar parse(URL url) throws ParseException
url
- URL
ParseException
- if error occurs during parsing
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |