dk.brics.relaxng
Class MultiContentPattern
java.lang.Object
dk.brics.relaxng.Pattern
dk.brics.relaxng.MultiContentPattern
- Direct Known Subclasses:
- ChoicePattern, GroupPattern, InterleavePattern
public abstract class MultiContentPattern
- extends Pattern
Abstract superclass for patterns with multiple contents.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ps
protected List<Pattern> ps
- Content patterns.
MultiContentPattern
public MultiContentPattern(List<Pattern> ps,
Origin origin)
- Constructs a new pattern with multiple contents.
- Parameters:
ps
- list of patternorigin
- source information (null if not applicable)
getContents
public List<Pattern> getContents()
- Returns the content patterns.
- Returns:
- list of patterns (should not be modified)
setContents
public void setContents(List<Pattern> ps)
- Sets the content patterns.
- Parameters:
ps
- list of patterns
Copyright © 2005-2010 Anders Møller.