org.kohsuke.rngom.parse
インタフェース Parseable

既知の実装クラスの一覧:
CompactParseable, SAXParseable

public interface Parseable

An input that can be turned into a RELAX NG pattern.

This is either a RELAX NG schema in the XML format, or a RELAX NG schema in the compact syntax.


メソッドの概要
 ParsedPattern parse(SchemaBuilder sb)
          Parses this Parsable object into a RELAX NG pattern.
 ParsedPattern parseExternal(java.lang.String uri, SchemaBuilder f, Scope s, java.lang.String inheritedNs)
           
 ParsedPattern parseInclude(java.lang.String uri, SchemaBuilder f, IncludedGrammar g, java.lang.String inheritedNs)
           
 

メソッドの詳細

parse

public ParsedPattern parse(SchemaBuilder sb)
                    throws BuildException,
                           IllegalSchemaException
Parses this Parsable object into a RELAX NG pattern.

パラメータ:
sb - The builder of the schema object model. This object dictates how the actual pattern is constructed.
戻り値:
a parsed object. Always returns a non-null valid object.
例外:
BuildException
IllegalSchemaException

parseInclude

public ParsedPattern parseInclude(java.lang.String uri,
                                  SchemaBuilder f,
                                  IncludedGrammar g,
                                  java.lang.String inheritedNs)
                           throws BuildException,
                                  IllegalSchemaException
例外:
BuildException
IllegalSchemaException

parseExternal

public ParsedPattern parseExternal(java.lang.String uri,
                                   SchemaBuilder f,
                                   Scope s,
                                   java.lang.String inheritedNs)
                            throws BuildException,
                                   IllegalSchemaException
例外:
BuildException
IllegalSchemaException