Class ProtoDeclare

java.lang.Object
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:
X3D Abstract Specification: ProtoDeclare, X3D Tooltips: ProtoDeclare, X3D Scene Authoring Hints: InlinesPrototypes
  • Field Details

  • Constructor Details

    • ProtoDeclare

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

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