Class IdentityConstraintState

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler

    public class IdentityConstraintState
    extends SimpleState
    used to parse <unique>,<key>, and <keyref> element.
    • Field Detail

      • selector

        protected XPath[] selector
      • fields

        protected final java.util.Vector fields
    • Constructor Detail

      • IdentityConstraintState

        public IdentityConstraintState()
    • Method Detail

      • endSelf

        protected void endSelf()
        Description copied from class: SimpleState
        this method is called in endElement method when the state is about to be removed. derived-class should perform any wrap-up job
        Overrides:
        endSelf in class SimpleState
      • createIdentityConstraint

        protected void createIdentityConstraint()
      • parseSelector

        protected XPath[] parseSelector​(java.lang.String xpath)
      • parseField

        protected Field parseField​(java.lang.String xpath)
      • parsePath

        protected boolean parsePath​(XPath pathObj,
                                    java.lang.String xpath,
                                    boolean parseField)
        parses "aa/bb/cc/.../".
        Returns:
        true if it succeeds in parsing. Otherwise false.