Package eu.bandm.tools.dtd
Class DTD.AttDef
java.lang.Object
eu.bandm.tools.dtd.DTD.AttDef
- All Implemented Interfaces:
Formattable,Cloneable
- Enclosing class:
DTD
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<DTD.AttDef, Location<XMLDocumentIdentifier>> static final Function<DTD.AttDef, List<Location<XMLDocumentIdentifier>>> static final Function<DTD.AttDef, String> static final Function<DTD.AttDef, DTD.AttType> static final Function<DTD.AttDef, DTD.DefaultDecl> protected Location<XMLDocumentIdentifier> protected List<Location<XMLDocumentIdentifier>> protected Stringprotected DTD.AttTypeprotected DTD.DefaultDecl -
Constructor Summary
ConstructorsConstructorDescriptionAttDef(Location<XMLDocumentIdentifier> location, String name, DTD.AttType type, DTD.DefaultDecl value) AttDef(String name, DTD.AttType type, DTD.DefaultDecl value) -
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_locations(DTD.MATCH_ONLY_00 visitor) doclone()format()Returns a pretty-printable representation of this object.static Pattern<DTD.AttDef> get_location(Pattern<? super Location<XMLDocumentIdentifier>> p) static Pattern<DTD.AttDef> get_locations(Pattern<? super List<Location<XMLDocumentIdentifier>>> p) get_name()static Pattern<DTD.AttDef> get_type()static Pattern<DTD.AttDef> get_type(Pattern<? super DTD.AttType> p) static Pattern<DTD.AttDef> get_value(Pattern<? super DTD.DefaultDecl> p) static Stringbooleanbooleanbooleanbooleanset_type(DTD.AttType val) booleanset_value(DTD.DefaultDecl val)
-
Field Details
-
location
-
get_location
-
locations
-
get_locations
-
name
-
get_name
-
type
-
get_type
-
value
-
get_value
-
-
Constructor Details
-
AttDef
-
AttDef
public AttDef(Location<XMLDocumentIdentifier> location, String name, DTD.AttType type, DTD.DefaultDecl value)
-
-
Method Details
-
doclone
-
getFormatHint
-
format
Description copied from interface:FormattableReturns a pretty-printable representation of this object.- Specified by:
formatin interfaceFormattable- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
-
get_location
-
set_location
-
get_locations
-
set_locations
-
descend_locations
-
get_name
-
set_name
-
get_type
-
set_type
-
get_value
-
set_value
-
get_location
-
get_locations
public static Pattern<DTD.AttDef> get_locations(Pattern<? super List<Location<XMLDocumentIdentifier>>> p) -
get_name
-
get_type
-
get_value
-