public interface ObjectFactory
Modifier and Type | Method and Description |
---|---|
EnumeratedProfileElement |
createEnumeratedProfileElement(Profile profile,
String name,
String id,
String desc,
String type,
String unit,
List synonyms,
boolean obligation,
int maxOccurrence,
String comments,
List values)
Create a profile element with enumerated values.
|
Profile |
createProfile(Element node)
Create a profile from a DOM node.
|
ProfileAttributes |
createProfileAttributes(Element node)
Create profile attributes from a DOM node.
|
RangedProfileElement |
createRangedProfileElement(Profile profile,
String name,
String id,
String desc,
String type,
String unit,
List synonyms,
boolean obligation,
int maxOccurrence,
String comments,
String min,
String max)
Create a ranged profile element.
|
ResourceAttributes |
createResourceAttributes(Profile profile,
Element node)
Create resource attributes from a DOM node.
|
UnspecifiedProfileElement |
createUnspecifiedProfileElement(Profile profile,
String name,
String id,
String desc,
String type,
String unit,
List synonyms,
boolean obligation,
int maxOccurrence,
String comments)
Create a profile element with unspecified values.
|
RangedProfileElement createRangedProfileElement(Profile profile, String name, String id, String desc, String type, String unit, List synonyms, boolean obligation, int maxOccurrence, String comments, String min, String max)
profile
- a Profile
value.name
- a String
value.id
- a String
value.desc
- a String
value.type
- a String
value.unit
- a String
value.synonyms
- a List
value.obligation
- a boolean
value.maxOccurrence
- an int
value.comments
- a String
value.min
- a double
value.max
- a double
value.RangedProfileElement
value.UnspecifiedProfileElement createUnspecifiedProfileElement(Profile profile, String name, String id, String desc, String type, String unit, List synonyms, boolean obligation, int maxOccurrence, String comments)
profile
- a Profile
value.name
- a String
value.id
- a String
value.desc
- a String
value.type
- a String
value.unit
- a String
value.synonyms
- a List
value.obligation
- a boolean
value.maxOccurrence
- an int
value.comments
- a String
value.UnspecifiedProfileElement
value.EnumeratedProfileElement createEnumeratedProfileElement(Profile profile, String name, String id, String desc, String type, String unit, List synonyms, boolean obligation, int maxOccurrence, String comments, List values)
profile
- a Profile
value.name
- a String
value.id
- a String
value.desc
- a String
value.type
- a String
value.unit
- a String
value.synonyms
- a List
value.obligation
- a boolean
value.maxOccurrence
- an int
value.comments
- a String
value.values
- a List
value.Enumerated
value.Profile createProfile(Element node)
node
- an Element
value.Profile
value.ProfileAttributes createProfileAttributes(Element node)
node
- an Element
value.ProfileAttributes
value.ResourceAttributes createResourceAttributes(Profile profile, Element node)
profile
- Owning profile.node
- an Element
value.ResourceAttributes
value.Copyright © 1999-2014 Apache OODT. All Rights Reserved.