Documentation of 'org.jhotdraw.xml.DefaultDOMFactory' Java class
DefaultDOMFactory
org.jhotdraw.xml

Class DefaultDOMFactory

    • Constructor Summary

      Constructors 
      Constructor and Description
      DefaultDOMFactory()
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addEnum(java.lang.String value, java.lang.Enum e)
      Adds an Enum value to the DOMFactory.
      void addEnumClass(java.lang.String name, java.lang.Class c)
      Adds an Enum class to the DOMFactory.
      void addStorable(java.lang.String name, DOMStorable prototype)
      Adds a DOMStorable prototype to the DOMFactory.
      void addStorableClass(java.lang.String name, java.lang.Class c)
      Adds a DOMStorable class to the DOMFactory.
      java.lang.Object create(java.lang.String name)
      Creates a DOMStorable object.
      java.lang.String getName(java.lang.Object o)
      Returns the element name for the specified object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultDOMFactory

        public DefaultDOMFactory()
        Creates a new instance.
    • Method Detail

      • addStorableClass

        public void addStorableClass(java.lang.String name,
                                     java.lang.Class c)
        Adds a DOMStorable class to the DOMFactory.
      • addStorable

        public void addStorable(java.lang.String name,
                                DOMStorable prototype)
        Adds a DOMStorable prototype to the DOMFactory.
      • addEnumClass

        public void addEnumClass(java.lang.String name,
                                 java.lang.Class c)
        Adds an Enum class to the DOMFactory.
      • addEnum

        public void addEnum(java.lang.String value,
                            java.lang.Enum e)
        Adds an Enum value to the DOMFactory.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.