|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.relaxng.Pattern dk.brics.relaxng.NoContentPattern dk.brics.relaxng.ValuePattern
public class ValuePattern
<value datatypeLibrary="anyURI" type="NCName" ns="string"> string </value>
Field Summary |
---|
Fields inherited from class dk.brics.relaxng.Pattern |
---|
origin |
Constructor Summary | |
---|---|
ValuePattern(String lib,
String type,
String ns,
String value,
Origin origin)
Construcs a new value pattern. |
Method Summary | ||
---|---|---|
String |
getLibrary()
Returns datatype library. |
|
String |
getNs()
Returns namespace. |
|
String |
getType()
Returns type. |
|
String |
getValue()
Returns value. |
|
|
process(PatternProcessor<T> v)
Applies the given pattern processor on this pattern. |
Methods inherited from class dk.brics.relaxng.Pattern |
---|
getOrigin, setOrigin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValuePattern(String lib, String type, String ns, String value, Origin origin)
lib
- datatypeLibrarytype
- typens
- namespacevalue
- valueorigin
- source information (null if not applicable)Method Detail |
---|
public String getLibrary()
public String getNs()
public String getType()
public String getValue()
public <T> T process(PatternProcessor<T> v)
Pattern
process
in class Pattern
T
- return typev
- pattern processor
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |