dk.brics.relaxng
Class RefPattern
java.lang.Object
dk.brics.relaxng.Pattern
dk.brics.relaxng.NoContentPattern
dk.brics.relaxng.RefPattern
public class RefPattern
- extends NoContentPattern
<ref name="NCName"/>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RefPattern
public RefPattern(String name,
Origin origin)
- Construcs a new ref pattern.
- Parameters:
name
- pattern nameorigin
- source information (null if not applicable)
getName
public String getName()
- Returns the pattern name.
- Returns:
- name
process
public <T> T process(PatternProcessor<T> v)
- Description copied from class:
Pattern
- Applies the given pattern processor on this pattern.
- Specified by:
process
in class Pattern
- Type Parameters:
T
- return type- Parameters:
v
- pattern processor
- Returns:
- result from processor
Copyright © 2005-2010 Anders Møller.