public static class DTD.__Patterns extends Object
cast_[T]
simply call ReflectionPatterns.forInstancesOf(Class, Pattern)
.
Thus they combine a pattern which matches some super type with a type
check.The methods with names term_[T]
get as parameters one
pattern for the super class and one for each own field and combine them to
a pattern for the class T.
Constructor and Description |
---|
__Patterns() |
public static Pattern<Object> cast_EntityContext(Pattern<? super DTD.EntityContext> p)
public static Pattern<? super DTD.EntityContext> term_EntityContext(Pattern<Object> superpattern)
public static Pattern<? super DTD.Dtd> term_Dtd(Pattern<Object> superpattern, Pattern<? super List<Location<XMLDocumentIdentifier>>> p_locations, Pattern<? super XMLDocumentIdentifier> p_documentId, Pattern<? super DTD.TextDecl> p_textDecl, Pattern<? super CheckedList<DTD.MarkupDecl>> p_markup, Pattern<? super CheckedMultimap_RD<String,String>> p_entityUsage)
public static Pattern<Object> cast_Notation(Pattern<? super DTD.Notation> p)
public static Pattern<? super DTD.Notation> term_Notation(Pattern<? super DTD.MarkupDecl> superpattern, Pattern<? super String> p_name, Pattern<? super XMLDocumentIdentifier> p_id)
public static Pattern<Object> cast_Comment(Pattern<? super DTD.Comment> p)
public static Pattern<? super DTD.Comment> term_Comment(Pattern<? super DTD.MarkupDecl> superpattern, Pattern<? super String> p_text)
public static Pattern<Object> cast_MarkupDecl(Pattern<? super DTD.MarkupDecl> p)
public static Pattern<? super DTD.MarkupDecl> term_MarkupDecl(Pattern<Object> superpattern, Pattern<? super Location<XMLDocumentIdentifier>> p_location, Pattern<? super List<Location<XMLDocumentIdentifier>>> p_locations)
public static Pattern<Object> cast_Entity(Pattern<? super DTD.Entity> p)
public static Pattern<? super DTD.Entity> term_Entity(Pattern<? super DTD.MarkupDecl> superpattern, Pattern<? super Boolean> p_parameter, Pattern<? super String> p_name, Pattern<? super DTD.EntityValue> p_value)
public static Pattern<Object> cast_Choice(Pattern<? super DTD.Choice> p)
public static Pattern<? super DTD.Choice> term_Choice(Pattern<? super DTD.CP> superpattern, Pattern<? super CheckedList<DTD.CP>> p_alts)
public static Pattern<Object> cast_TextDecl(Pattern<? super DTD.TextDecl> p)
public static Pattern<? super DTD.TextDecl> term_TextDecl(Pattern<? super DTD.MarkupDecl> superpattern, Pattern<? super String> p_version, Pattern<? super String> p_encoding)
public static Pattern<? super DTD.Seq> term_Seq(Pattern<? super DTD.CP> superpattern, Pattern<? super CheckedList<DTD.CP>> p_elems)
public static Pattern<Object> cast_Abbrev(Pattern<? super DTD.Abbrev> p)
public static Pattern<? super DTD.Abbrev> term_Abbrev(Pattern<? super DTD.CP> superpattern, Pattern<? super String> p_name, Pattern<? super DTD.CP> p_body)
public static Pattern<Object> cast_AttValue(Pattern<? super DTD.AttValue> p)
public static Pattern<? super DTD.AttValue> term_AttValue(Pattern<? super DTD.DefaultDecl> superpattern, Pattern<? super Boolean> p_fixed, Pattern<? super String> p_value)
public static Pattern<Object> cast_Attlist(Pattern<? super DTD.Attlist> p)
public static Pattern<? super DTD.Attlist> term_Attlist(Pattern<? super DTD.MarkupDecl> superpattern, Pattern<? super String> p_element, Pattern<? super CheckedList<DTD.AttDef>> p_atts)
public static Pattern<Object> cast_Element(Pattern<? super DTD.Element> p)
public static Pattern<? super DTD.Element> term_Element(Pattern<? super DTD.MarkupDecl> superpattern, Pattern<? super String> p_name, Pattern<? super DTD.ContentModel> p_content)
public static Pattern<Object> cast_AttDef(Pattern<? super DTD.AttDef> p)
public static Pattern<? super DTD.AttDef> term_AttDef(Pattern<Object> superpattern, Pattern<? super Location<XMLDocumentIdentifier>> p_location, Pattern<? super List<Location<XMLDocumentIdentifier>>> p_locations, Pattern<? super String> p_name, Pattern<? super DTD.AttType> p_type, Pattern<? super DTD.DefaultDecl> p_value)
public static Pattern<? super DTD.CP> term_CP(Pattern<? super DTD.ContentModel> superpattern, Pattern<? super Integer> p_modifier)
public static Pattern<? super DTD.Any> term_Any(Pattern<? super DTD.ContentModelConstant> superpattern)
public static Pattern<Object> cast_NmToken(Pattern<? super DTD.NmToken> p)
public static Pattern<? super DTD.NmToken> term_NmToken(Pattern<Object> superpattern, Pattern<? super String> p_text)
public static Pattern<Object> cast_DefaultDeclConstant(Pattern<? super DTD.DefaultDeclConstant> p)
public static Pattern<? super DTD.DefaultDeclConstant> term_DefaultDeclConstant(Pattern<? super DTD.DefaultDecl> superpattern, Pattern<? super String> p_label)
public static Pattern<Object> cast_ContentModel(Pattern<? super DTD.ContentModel> p)
public static Pattern<? super DTD.ContentModel> term_ContentModel(Pattern<Object> superpattern)
public static Pattern<? super DTD.Mixed> term_Mixed(Pattern<? super DTD.ContentModel> superpattern, Pattern<? super CheckedList<String>> p_names)
public static Pattern<? super DTD.Empty> term_Empty(Pattern<? super DTD.ContentModelConstant> superpattern)
public static Pattern<Object> cast_AttTypeConstant(Pattern<? super DTD.AttTypeConstant> p)
public static Pattern<? super DTD.AttTypeConstant> term_AttTypeConstant(Pattern<? super DTD.AttType> superpattern, Pattern<? super String> p_label)
public static Pattern<Object> cast_ContentModelConstant(Pattern<? super DTD.ContentModelConstant> p)
public static Pattern<? super DTD.ContentModelConstant> term_ContentModelConstant(Pattern<? super DTD.ContentModel> superpattern, Pattern<? super String> p_label)
public static Pattern<Object> cast_DefaultDecl(Pattern<? super DTD.DefaultDecl> p)
public static Pattern<? super DTD.DefaultDecl> term_DefaultDecl(Pattern<Object> superpattern)
public static Pattern<? super DTD.PI> term_PI(Pattern<? super DTD.MarkupDecl> superpattern, Pattern<? super String> p_target, Pattern<? super String> p_text)
public static Pattern<Object> cast_Enumerated(Pattern<? super DTD.Enumerated> p)
public static Pattern<? super DTD.Enumerated> term_Enumerated(Pattern<? super DTD.AttType> superpattern, Pattern<? super CheckedList<String>> p_tokens)
public static Pattern<Object> cast_EntityValue(Pattern<? super DTD.EntityValue> p)
public static Pattern<? super DTD.EntityValue> term_EntityValue(Pattern<Object> superpattern, Pattern<? super XMLDocumentIdentifier> p_id, Pattern<? super String> p_definition, Pattern<? super String> p_replacement)
public static Pattern<Object> cast_AttTypeAbbrev(Pattern<? super DTD.AttTypeAbbrev> p)
public static Pattern<? super DTD.AttTypeAbbrev> term_AttTypeAbbrev(Pattern<? super DTD.AttType> superpattern, Pattern<? super String> p_label)
public static Pattern<Object> cast_Singleton(Pattern<? super DTD.Singleton> p)
public static Pattern<? super DTD.Singleton> term_Singleton(Pattern<? super DTD.CP> superpattern, Pattern<? super String> p_name)
public static Pattern<Object> cast_AttType(Pattern<? super DTD.AttType> p)
public static Pattern<? super DTD.AttType> term_AttType(Pattern<Object> superpattern)
see also the complete user documentation .