Class ProtoDeclare

All Implemented Interfaces:
X3DChildNode, X3DNode

public class ProtoDeclare extends X3DConcreteStatement implements X3DChildNode
ProtoDeclare defines new Prototype nodes. Nested ProtoDeclares and ProtoInstances are allowed by the specification. This concrete class represents an X3D ProtoDeclare statement.

X3D statement tooltip: [X3D statement] ProtoDeclare is a Prototype Declaration, defining a new node made up of other node(s). ProtoDeclare contains ProtoInterface and ProtoBody statements.
See Also:
  • Field Details

    • NAME

      public static final String NAME
      String constant NAME provides name of this element: ProtoDeclare.
      See Also:

      public static final String COMPONENT
      String constant COMPONENT defines X3D component for the ProtoDeclare element: Core
      See Also:
    • LEVEL

      public static final int LEVEL
      Integer constant LEVEL provides default X3D Core component level for this element: 2
      See Also:

      public static final String APPINFO_DEFAULT_VALUE
      SFString field named appinfo has default value equal to an empty string.
      See Also:

      public static final String DOCUMENTATION_DEFAULT_VALUE
      SFString field named documentation has default value equal to an empty string.
      See Also:

      public static final String NAME_DEFAULT_VALUE
      SFString field named name has default value equal to an empty string.
      See Also:

      public static final ProtoBody PROTOBODY_DEFAULT_VALUE
      SFNode field named ProtoBody has default value null (Java syntax) or NULL (XML syntax).

      public static final ProtoInterface PROTOINTERFACE_DEFAULT_VALUE
      SFNode field named ProtoInterface has default value null (Java syntax) or NULL (XML syntax).
  • Constructor Details

    • ProtoDeclare

      public ProtoDeclare()
      Constructor for ProtoDeclare to initialize member variables with default values.
    • ProtoDeclare

      public ProtoDeclare(String prototypeName)
      Utility constructor that assigns ProtoDeclare name after initializing member variables with default values.
      prototypeName - initial name for this ProtoDeclare statement
  • Method Details