dk.brics.relaxng
Class AttributePattern
java.lang.Object
dk.brics.relaxng.Pattern
dk.brics.relaxng.SingleContentPattern
dk.brics.relaxng.AttributePattern
public class AttributePattern
- extends SingleContentPattern
<attribute> nameClass pattern </attribute>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributePattern
public AttributePattern(NameClass nc,
Pattern p,
Origin origin)
- Constructs a new attribute pattern.
- Parameters:
nc - name class describing namesp - pattern describing valuesorigin - source information (null if not applicable)
getNameClass
public NameClass getNameClass()
- Returns the name class.
- Returns:
- name class
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.