Package com.yworks.common.ant
Class PatternMatchedSection
- java.lang.Object
-
- com.yworks.common.ant.PatternMatchedSection
-
- Direct Known Subclasses:
AttributesSection,ClassSection,FieldSection,MethodSection
public abstract class PatternMatchedSection extends java.lang.ObjectThe type Pattern matched section.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPatternMatchedSection.AccessThe enum Access.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<TypePatternSet.Type,org.apache.tools.ant.types.PatternSet>patternSetsThe Pattern sets.protected java.util.Set<TypePatternSet.Type>typesThe Types.
-
Constructor Summary
Constructors Constructor Description PatternMatchedSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PatternMatchedSection.AccessaccessValue(java.lang.String accessString)Access value access.voidaddPatternSet(org.apache.tools.ant.types.PatternSet ps, TypePatternSet.Type type)Add pattern set.TypePatternSetcreatePatternSet()Create pattern set type pattern set.PatternMatchedSection.AccessgetAccess()Gets access.org.apache.tools.ant.types.PatternSetgetPatternSet(TypePatternSet.Type type)Gets pattern set.voidsetAccess(java.lang.String access)Sets access.
-
-
-
Field Detail
-
types
protected java.util.Set<TypePatternSet.Type> types
The Types.
-
patternSets
protected java.util.Map<TypePatternSet.Type,org.apache.tools.ant.types.PatternSet> patternSets
The Pattern sets.
-
-
Method Detail
-
createPatternSet
public TypePatternSet createPatternSet()
Create pattern set type pattern set.- Returns:
- the type pattern set
-
addPatternSet
public void addPatternSet(org.apache.tools.ant.types.PatternSet ps, TypePatternSet.Type type)Add pattern set.- Parameters:
ps- the pstype- the type
-
getPatternSet
public org.apache.tools.ant.types.PatternSet getPatternSet(TypePatternSet.Type type)
Gets pattern set.- Parameters:
type- the type- Returns:
- the pattern set
-
setAccess
public void setAccess(java.lang.String access)
Sets access.- Parameters:
access- the access
-
getAccess
public PatternMatchedSection.Access getAccess()
Gets access.- Returns:
- the access
-
accessValue
protected PatternMatchedSection.Access accessValue(java.lang.String accessString)
Access value access.- Parameters:
accessString- the access string- Returns:
- the access
-
-