com.cysols.iodef.element
Class IODEFElementCreator

java.lang.Object
  extended by com.cysols.iodef.ElementCreator
      extended by com.cysols.iodef.element.IODEFElementCreator
All Implemented Interfaces:
IODEFElementConstants
Direct Known Subclasses:
NSIODEFElementCreator

public class IODEFElementCreator
extends ElementCreator
implements IODEFElementConstants

Create the element class indicated xml element, this class is for no name spece.

Author:
cysol

Field Summary
 
Fields inherited from interface com.cysols.iodef.element.IODEFElementConstants
ADDITIONALDATA_ELE, ADDRCAT_ATT, ADDRESS_ELE, ALTERNATIVEID_ELE, ANALYZERID_ATT, APPID_ATT, APPLICATION_ELE, ARG_S_ELE, ASSESSMENT_ELE, CATEGORY_ATT, CLASS_ATT, CLASSIFICATION_ELE, COMPLETION_ATT, CONFIDENCE_ELE, CONFIGID_ATT, CONTACT_ELE, CONTACTROLE_ATT, CONTACTTYPE_ATT, COUNTER_ELE, COUNTERTYPE_ATT, CURRENCY_ATT, DATETIME_ELE, DESCRIPTION_ELE, DETECTTIME_ELE, DTYPE_ATT, EMAIL_ELE, ENDTIME_ELE, ENV_S_ELE, EVENTDATA_ELE, EXPECTATION_ELE, EXPECTCAT_ATT, FAX_ELE, FILECAT_ATT, FLOW_ELE, FORMAT_ATT, HISTORY_ELE, HISTORYCAT_ATT, HISTORYITEM_ELE, IDENT_ATT, IMPACT_ELE, IMPACTTYPE_ATT, INCIDENT_ELE, INCIDENTID_ELE, INTERFACE_ATT, IODEF_ELE, IP_PROTOCOL_ATT, IP_VERSION_ATT, ISSUER_ATT, LANG_ATT, LOCATION_ELE, MANUFACTURER_ATT, MEANING_ATT, METHOD_ELE, METRIC_ATT, MODEL_ATT, MONETARYIMPACT_ELE, NAME_ATT, NAME_S_ELE, NODE_ELE, NODEROLE_ELE, NODEROLECAT_ATT, OPERATINGSYSTEM_ELE, ORIGIN_ATT, OSTYPE_ATT, OSVERSION_ATT, PATCH_ATT, PATH_S_ELE, PID_S_ELE, PORT_S_ELE, PORTLIST_S_ELE, POSTALADDRESS_ELE, PRESERVE_ATT, PRIORITY_ATT, PROCESS_ELE, PURPOSE_ATT, RATING_ATT, RECORD_ELE, RECORDDATA_ELE, RECORDITEM_ELE, REGISTRYHANDLE_ELE, REGISTRYTYPE_ATT, RELATEDACTIVITY_ELE, REPORTTIME_ELE, RESTRICTION_ATT, SERVICE_ELE, SEVERITY_ATT, SPOOFED_ATT, STARTTIME_ELE, SYSTEM_ELE, SYSTEMCAT_ATT, TELEPHONE_ELE, TIMEIMPACT_ELE, TIMEZONE_ELE, TRANSFORM_ATT, UNIT_ATT, URL_S_ELE, VENDOR_ATT, VERSION_ATT, VLAN_NAME_ATT, VLAN_NUM_ATT
 
Constructor Summary
IODEFElementCreator()
           
 
Method Summary
 IElement create(String name)
          Creates an element of the type specified.
 AdditionalData createAdditionalData()
          Creates a new instance which represents AdditionalData node.
 Address createAddress()
          Creates a new instance which represents Address node.
 AlternativeID createAlternativeID()
          Creates a new instance which represents AlternativeID node.
 Application createApplication()
          Creates a new instance which represents Application node.
 Assessment createAssessment()
          Creates a new instance which represents Assessment node.
 Classification createClassification()
          Creates a new instance which represents Classification node.
 Contact createContact()
          Creates a new instance which represents Contact node.
 EventData createEventData()
          Creates a new instance which represents EventData node.
 Expectation createExpectation()
          Creates a new instance which represents Expectation node.
 Flow createFlow()
          Creates a new instance which represents Flow node.
 History createHistory()
          Creates a new instance which represents History node.
 HistoryItem createHistoryItem()
          Creates a new instance which represents HistoryItem node.
 Impact createImpact()
          Creates a new instance which represents Impact node.
 Incident createIncident()
          Creates a new instance which represents Incident node.
 IODEFDocument createIODEFDocument()
          Creates a new instance which represents IODEF-Document document.
 Method createMethod()
          Creates a new instance which represents Method node.
 Node createNode()
          Creates a new instance which represents Node node.
 OperatingSystem createOperatingSystem()
          Creates a new instance which represents OperatingSystem node.
 Process createProcess()
          Creates a new instance which represents Process node.
 Record createRecord()
          Creates a new instance which represents Record node.
 RecordData createRecordData()
          Creates a new instance which represents RecordData node.
 RelatedActivity createRelatedActivity()
          Creates a new instance which represents RelatedActivity node.
 Service createService()
          Creates a new instance which represents Service node.
 System createSystem()
          Creates a new instance which represents System node.
 
Methods inherited from class com.cysols.iodef.ElementCreator
createAttribute, createDomAttr, createDomElement, getDomElement, replace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IODEFElementCreator

public IODEFElementCreator()
Method Detail

create

public IElement create(String name)
Creates an element of the type specified. Note that the instance returned extends the IElement class,

Overrides:
create in class ElementCreator
Parameters:
name - The name of the element type to instantiate.
Returns:
The element class indicated by specified name.

createIODEFDocument

public IODEFDocument createIODEFDocument()
Creates a new instance which represents IODEF-Document document.

Returns:
a new instance which represents IODEF-Document document

createAdditionalData

public AdditionalData createAdditionalData()
Creates a new instance which represents AdditionalData node.

Returns:
a new instance which represents AdditionalData node

createAddress

public Address createAddress()
Creates a new instance which represents Address node.

Returns:
a new instance which represents Address node

createAlternativeID

public AlternativeID createAlternativeID()
Creates a new instance which represents AlternativeID node.

Returns:
a new instance which represents AlternativeID node

createApplication

public Application createApplication()
Creates a new instance which represents Application node.

Returns:
a new instance which represents Application node

createAssessment

public Assessment createAssessment()
Creates a new instance which represents Assessment node.

Returns:
a new instance which represents Assessment node

createClassification

public Classification createClassification()
Creates a new instance which represents Classification node.

Returns:
a new instance which represents Classification node

createContact

public Contact createContact()
Creates a new instance which represents Contact node.

Returns:
a new instance which represents Contact node

createEventData

public EventData createEventData()
Creates a new instance which represents EventData node.

Returns:
a new instance which represents EventData node

createExpectation

public Expectation createExpectation()
Creates a new instance which represents Expectation node.

Returns:
a new instance which represents Expectation node

createFlow

public Flow createFlow()
Creates a new instance which represents Flow node.

Returns:
a new instance which represents Flow node

createHistory

public History createHistory()
Creates a new instance which represents History node.

Returns:
a new instance which represents History node

createHistoryItem

public HistoryItem createHistoryItem()
Creates a new instance which represents HistoryItem node.

Returns:
a new instance which represents HistoryItem node

createIncident

public Incident createIncident()
Creates a new instance which represents Incident node.

Returns:
a new instance which represents Incident node

createMethod

public Method createMethod()
Creates a new instance which represents Method node.

Returns:
a new instance which represents Method node

createNode

public Node createNode()
Creates a new instance which represents Node node.

Returns:
a new instance which represents Node node

createOperatingSystem

public OperatingSystem createOperatingSystem()
Creates a new instance which represents OperatingSystem node.

Returns:
a new instance which represents OperatingSystem node

createProcess

public Process createProcess()
Creates a new instance which represents Process node.

Returns:
a new instance which represents Process node

createRecord

public Record createRecord()
Creates a new instance which represents Record node.

Returns:
a new instance which represents Record node

createRecordData

public RecordData createRecordData()
Creates a new instance which represents RecordData node.

Returns:
a new instance which represents RecordData node

createRelatedActivity

public RelatedActivity createRelatedActivity()
Creates a new instance which represents RelatedActivity node.

Returns:
a new instance which represents RelatedActivity node

createService

public Service createService()
Creates a new instance which represents Service node.

Returns:
a new instance which represents Service node

createSystem

public System createSystem()
Creates a new instance which represents System node.

Returns:
a new instance which represents System node

createImpact

public Impact createImpact()
Creates a new instance which represents Impact node.

Returns:
a new instance which represents Impact node