Package com.nt.udc.nar.xml
Class ObjectCollectionContext
java.lang.Object
com.nt.udc.util.xml.ElementContext
com.nt.udc.nar.xml.DCFieldContext
com.nt.udc.nar.xml.ObjectCollectionContext
- All Implemented Interfaces:
IdentifiableContext
- Direct Known Subclasses:
HashtableExtContext,ListFieldContext,MapFieldContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected abstract voidaddDCField(DCFieldContext fieldCtx) This method must provide the implementation to actually add a DCField to the specific field type being managed.voidvoidwriteContent(XMLWriter writer, NamedContextFactory factory) Methods inherited from class com.nt.udc.nar.xml.DCFieldContext
characters, end, getAttributes, getField, getId, getKey, getStringValue, setDataDictionary, setField, setId, setStringValue, writeMethods inherited from class com.nt.udc.util.xml.ElementContext
addChild, getElementName, getParent, setElementName
-
Constructor Details
-
ObjectCollectionContext
public ObjectCollectionContext()
-
-
Method Details
-
setFields
-
writeContent
- Overrides:
writeContentin classDCFieldContext- Throws:
SAXException
-
addDCField
This method must provide the implementation to actually add a DCField to the specific field type being managed. For example, the MapFieldContext provide an implementation which adds a DCField to the MapField being managed.- Parameters:
fieldCtx- The DCField to be added to the ObjectCollectionContext
-
add_byte
-
add_bytes
-
add_double
-
add_float
-
add_int
-
add_integer
-
add_ip
-
add_list
-
add_long
-
add_map
-
add_object
-
add_seconds
-
add_short
-
add_string
-