com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class StructuredElementProperties

    • Constructor Detail

      • StructuredElementProperties

        protected StructuredElementProperties(int elementType)

        Initializes a new instance of the StructuredElementProperties class.

        Parameters:
        elementType - A type of the document's element.
      • StructuredElementProperties

        protected StructuredElementProperties(int elementType,
                                   boolean isEmptyElement)

        Initializes a new instance of the StructuredElementProperties class.

        Parameters:
        elementType - A type of the document's element.
        isEmptyElement - A value indicating whether the element has child elements or text.
    • Method Detail

      • getElementType

        public int getElementType()

        Gets a type of the document's element.

        Returns:
        A value of StructuredElementType enumeration.
      • getSkipElement

        public boolean getSkipElement()

        Gets a value indicating whether the element should be skipped.

        Returns:
        true if the element should be skipped; otherwise, false.
      • setSkipElement

        public void setSkipElement(boolean value)

        Sets a value indicating whether the element should be skipped.

        Parameters:
        value - true if the element should be skipped; otherwise, false.
      • isEmptyElement

        public boolean isEmptyElement()

        Gets a value indicating whether the element has child elements or text.

        Returns:
        Value is false if element has child elements or text; otherwise, true.
      • get_Item

        public String get_Item(String key)

        Gets a parameter value.

        Parameters:
        key - A key of the parameter.
        Returns:
        A value of the parameter or null if parameter is not presented.